Skip to content

Rely solely on mypy for type checking#3368

Merged
mkoura merged 3 commits intomasterfrom
type_checking_mypy
Mar 16, 2026
Merged

Rely solely on mypy for type checking#3368
mkoura merged 3 commits intomasterfrom
type_checking_mypy

Conversation

@mkoura
Copy link
Collaborator

@mkoura mkoura commented Mar 16, 2026

Keep other type checkers configured so that they can be used in addition to mypy, but don't make them mandatory. Mypy is the most standard and mature type checker at the moment.

mkoura added 3 commits March 16, 2026 15:55
Removes pyright from development dependencies and pre-commit config.
This streamlines the development environment by relying solely on mypy for static type checking.
- Add explicit type annotations (e.g., `dict`, `list`, `list[str]`) to variables assigned from potentially ambiguous expressions, such as dictionary or list lookups with fallback defaults.
- Add `# type: ignore[no-any-return]` comments to fixture cache returns where necessary to satisfy type checkers.
@mkoura mkoura merged commit 1401c72 into master Mar 16, 2026
4 checks passed
@mkoura mkoura deleted the type_checking_mypy branch March 16, 2026 16:03
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