ruff: Enable sys.version errors.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2022-11-15 21:54:18 -08:00 committed by Tim Abbott
parent 1b016bef73
commit 06e64e5713
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ select = [
"N", # naming "N", # naming
"U", # upgrade "U", # upgrade
"W", # style warnings "W", # style warnings
"YTT", # sys.version
] ]
ignore = [ ignore = [
"ANN101", # Missing type annotation for `self` in method "ANN101", # Missing type annotation for `self` in method