Enable YTT in flake8 and ruff
This commit is contained in:
parent
57ac602612
commit
567bb713e2
1 changed files with 20 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ dev = [
|
|||
|
||||
# Code Analyzers
|
||||
"flake8 (>=7.5.0,<8.0.0)",
|
||||
"flake8-2020 (>=1.8.1,<2.0.0)",
|
||||
"flake8-annotations (>=3.3.1,<4.0.0)",
|
||||
"flake8-bandit (>=4.1.1,<5.0.0)",
|
||||
"flake8-black (>=0.5.0,<0.6.0)",
|
||||
|
|
@ -212,6 +213,8 @@ select = [
|
|||
# =======
|
||||
# plugins
|
||||
# =======
|
||||
# flake8-2020 => Correct `sys.version` checks
|
||||
"YTT",
|
||||
# flake8-annotations => Enforce type checking for functions
|
||||
"ANN0", "ANN2", "ANN3",
|
||||
# flake8-bandit => Common security issues
|
||||
|
|
@ -584,6 +587,8 @@ select = [
|
|||
"TID",
|
||||
# tryceratops => Clean exception handling
|
||||
"TRY",
|
||||
# flake8-2020 => Correct `sys.version` checks
|
||||
"YTT",
|
||||
# =======================================
|
||||
# Violations not covered by `flake8` above
|
||||
# =======================================
|
||||
|
|
|
|||
Loading…
Reference in a new issue