Skip to content

refactor: enable more ruff lints and enable ty type checker - #406

Open
alisterd51 wants to merge 6 commits into
wiremind:masterfrom
alisterd51:refactor
Open

refactor: enable more ruff lints and enable ty type checker#406
alisterd51 wants to merge 6 commits into
wiremind:masterfrom
alisterd51:refactor

Conversation

@alisterd51

Copy link
Copy Markdown
Contributor

🧹 Spring cleaning!

Summary of changes:

  • Added several new Ruff lints
  • Migrated type checker from mypy to ty
  • Removed obsolete type annotations
  • Updated dev tooling & dependencies
  • Updated GitHub Actions workflows
  • Prepared setup for upcoming Python 3.15 support

Verification:
The code has been validated with:

ruff check
ruff check --preview
ruff format
ty check
pytest --benchmark-skip

# Only for the commit prior to the ty migration:
mypy --show-traceback

All changes are trivial and were performed either manually or via Ruff/ty autofixes.

Note: I was assisted by Gemini 3.6 Flash, conducting several review cycles before opening this PR.

I expect a slight performance boost from these cleanups (even if it's still Python 😉).

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.

1 participant