-
Notifications
You must be signed in to change notification settings - Fork 167
Open
Labels
Description
Description
We have most of the rules disabled, but there are some interesting ones hidden away.
I'm mainly interested in things that mypy
currently catches, but pyright
could've warned earlier.
Things unique to pyright
could be nice, but a lot of them seem to be covered by ruff
Not in any rush to do this btw
PRs
- chore(typing): enable
reportIncompatibleMethodOverride
in pyright #3096 - chore: enable pyright reportPossiblyUnboundVariable #2584
Misc
Oooh also it reminded me of trying out
typeCheckingMode = "strict"
a couple months backreportUnusedExpression = "none" # handled by (https://docs.astral.sh/ruff/rules/unused-variable/) + # strict + reportUnusedVariable = "none" # handled by (https://docs.astral.sh/ruff/rules/unused-variable/) + reportUnusedClass = "none" + reportUnusedFunction = "none" + reportPrivateUsage = "none" + reportUnknownVariableType = "none" + reportUnknownArgumentType = "none" + reportUnknownMemberType = "none" + reportUnknownLambdaType = "none" + reportMissingTypeStubs = "none" + typeCheckingMode = "strict" # strict = 3545 errorsI'd gotten the branch down to 81 errors (June 26, 2025), and
reportIncompatibleMethodOverride
I thought we should keep as well 🙂