Skip to content

Remove unused import and simplify f-string in download module#13

Merged
stevevanhooser merged 1 commit into
mainfrom
claude/remove-unused-import-mebVP
Mar 11, 2026
Merged

Remove unused import and simplify f-string in download module#13
stevevanhooser merged 1 commit into
mainfrom
claude/remove-unused-import-mebVP

Conversation

@stevevanhooser
Copy link
Copy Markdown
Contributor

Summary

This PR includes minor code cleanup changes: removing an unused import and simplifying a string literal that doesn't require f-string formatting.

Key Changes

  • Removed unused NonEmptyStr import from src/ndi/cloud/api/datasets.py
  • Simplified f-string to regular string literal in src/ndi/cloud/download.py since no variable interpolation is needed

Implementation Details

  • The NonEmptyStr validator was imported but never used in the datasets module
  • The zip filename assignment used an f-string unnecessarily; converted to a plain string literal for clarity and minor performance improvement

https://claude.ai/code/session_01W8psU8qD4io2AoWLvFxyJh

- 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
@stevevanhooser stevevanhooser merged commit 7d3de4c into main Mar 11, 2026
4 checks passed
@stevevanhooser stevevanhooser deleted the claude/remove-unused-import-mebVP branch March 11, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants