Skip to content

Commit cf71d43

Browse files
committed
Fix ruff errors: remove unused import and extraneous f-string prefix
- Remove unused `NonEmptyStr` import in datasets.py (F401) - Remove extraneous `f` prefix on string literal in download.py (F541) https://claude.ai/code/session_01W8psU8qD4io2AoWLvFxyJh
1 parent a03afdb commit cf71d43

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/ndi/cloud/api/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from pydantic import SkipValidation, validate_call
1717

1818
from ..client import APIResponse, CloudClient, _auto_client
19-
from ._validators import VALIDATE_CONFIG, CloudId, NonEmptyStr, PageNumber, PageSize
19+
from ._validators import VALIDATE_CONFIG, CloudId, PageNumber, PageSize
2020

2121
_Client = Annotated[CloudClient | None, SkipValidation()]
2222

src/ndi/cloud/download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def downloadGenericFiles(
663663
if zip_result and report["downloaded_filenames"]:
664664
import zipfile as _zipfile
665665

666-
zip_name = target / f"exported_generic_files.zip"
666+
zip_name = target / "exported_generic_files.zip"
667667
with _zipfile.ZipFile(zip_name, "w", _zipfile.ZIP_DEFLATED) as zf:
668668
for fname in report["downloaded_filenames"]:
669669
zf.write(target / fname, fname)

0 commit comments

Comments
 (0)