Skip to content

Add ruff linter and fix unused imports#21

Open
Mubashir78 wants to merge 1 commit into
koaning:mainfrom
Mubashir78:add-ruff-linter
Open

Add ruff linter and fix unused imports#21
Mubashir78 wants to merge 1 commit into
koaning:mainfrom
Mubashir78:add-ruff-linter

Conversation

@Mubashir78

Copy link
Copy Markdown

Closes #18

  • Add [tool.ruff] config to pyproject.toml (select F, I)
  • Auto-fix all existing F401/F841/I001 violations across the codebase
  • Add make lint target

- Add [tool.ruff] config to pyproject.toml (select F, I)
- Remove unused Union, List, Dict imports from __init__.py
- Remove unused Optional import from conftest.py
- Remove unused result/param_types variables across app.py and tests
- Add make lint target
@koaning

koaning commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Figured I'd check, are you a user of this library?

@Mubashir78

Copy link
Copy Markdown
Author

Not really, i found this issue through https://goodfirstissue.dev and figured i might help out :) ✌️

@Mubashir78

Copy link
Copy Markdown
Author

@koaning @claude Just checking in. Any plans of review or merging?

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.

add ruff linter (removes unused imports, prevents recurrence)

2 participants