-
make ruff complain that variable type annotations are missing |
Beta Was this translation helpful? Give feedback.
Answered by
tjkuson
Sep 2, 2024
Replies: 1 comment
-
You are probably looking for the flake8-annotations (ANN) ruleset. There isn't a strict mode in Ruff per se, so you'd just have to extend-select the additional rules you would like to enable (see |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Heus-Sueh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are probably looking for the flake8-annotations (ANN) ruleset. There isn't a strict mode in Ruff per se, so you'd just have to extend-select the additional rules you would like to enable (see
lint.extend_select
). An actual strict mode is most likely waiting on #1774 (not a maintainer myself).