Fix a bunch more lints
This commit is contained in:
+9
-3
@@ -40,11 +40,12 @@ select = [
|
||||
"B", # flake8-bugbear
|
||||
"C4", # flake8-comprehensions
|
||||
"COM", # flake8-commas
|
||||
"ANN",
|
||||
# "E", # pycodestyle
|
||||
# "F", # Pyflakes
|
||||
"FA", # flake8-future-annotations
|
||||
"I", # isort
|
||||
# "S", # flake8-bandit
|
||||
"S", # flake8-bandit
|
||||
"ICN", # flake8-import-conventions
|
||||
"ISC", # flake8-implicit-str-concat
|
||||
# "N", # pep8-naming
|
||||
@@ -56,6 +57,11 @@ select = [
|
||||
"YTT", # flake8-2020
|
||||
]
|
||||
ignore = [
|
||||
# line too long
|
||||
"E501",
|
||||
"E501", # line too long
|
||||
"S101", # assert detected
|
||||
"S311", # non-cryptographic random generator
|
||||
]
|
||||
|
||||
[tool.ruff.lint.flake8-annotations]
|
||||
suppress-dummy-args = true
|
||||
ignore-fully-untyped = true
|
||||
|
||||
Reference in New Issue
Block a user