You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A portion of the Python code base makes use of type annotations. The entire code base should do so, to reduce bugs, improve quality, and enhance the IDE experience.
Additional Details
Use one of the more common type checkers - mypy, pyright, or pyre - and enforce standards by adding the checker to QA as a pre-commit hook.
Consider adding this setting to the ruff config for isort:
Description
A portion of the Python code base makes use of type annotations. The entire code base should do so, to reduce bugs, improve quality, and enhance the IDE experience.
Additional Details
Use one of the more common type checkers -
mypy
,pyright
, orpyre
- and enforce standards by adding the checker to QA as a pre-commit hook.Consider adding this setting to the
ruff
config forisort
:If the selected type checker does not offer a
pre-commit
hook directly, check the publishedpre-commit
hooks site for a "mirrored" one (e.g., formypy
)References
typing
libraryAcceptance Criteria
ruff
rules forANN
(flake8-annotations) are no longer disabledruff
rules forTCH
(flake8-type-checking) are no longer disabledruff
rules forFA
(flake8-future-annotations) are no longer disabledThe text was updated successfully, but these errors were encountered: