Skip to content

Commit 36c95a8

Browse files
committed
format and lint
1 parent 48acf51 commit 36c95a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replicate/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def close(self) -> None:
351351
def _get_api_token_from_environment() -> Optional[str]:
352352
"""Get API token from cog current scope if available, otherwise from environment."""
353353
try:
354-
import cog
354+
import cog # noqa: I001 # pyright: ignore [reportMissingImports]
355355

356356
for key, value in cog.current_scope().context.items():
357357
if key.upper() == "REPLICATE_API_TOKEN":

0 commit comments

Comments
 (0)