Skip to content

Replace pyright with Astral ty type checker#37

Merged
ardiloot merged 2 commits intomasterfrom
feature/ty-integration
Feb 20, 2026
Merged

Replace pyright with Astral ty type checker#37
ardiloot merged 2 commits intomasterfrom
feature/ty-integration

Conversation

@ardiloot
Copy link
Copy Markdown
Owner

  • Add ty to dev dependency group, remove pyright
  • Add [tool.ty] configuration in pyproject.toml:
    • src.include/exclude mirroring pyright scope
    • python-version = 3.10
    • allowed-unresolved-imports for Cython/setuptools
  • Replace pyright pre-commit hook with ty (uv run ty check)
  • Keep [tool.pyright] config for IDE/Pylance use

- Add ty to dev dependency group, remove pyright
- Add [tool.ty] configuration in pyproject.toml:
  - src.include/exclude mirroring pyright scope
  - python-version = 3.10
  - allowed-unresolved-imports for Cython/setuptools
- Replace pyright pre-commit hook with ty (uv run ty check)
- Keep [tool.pyright] config for IDE/Pylance use
@ardiloot ardiloot merged commit 796f5d0 into master Feb 20, 2026
21 checks passed
@ardiloot ardiloot deleted the feature/ty-integration branch February 20, 2026 19:38
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