Fix a bunch more lints

This commit is contained in:
2026-02-04 22:59:18 +09:00
parent 7bea5b0b96
commit 70b04c0c45
23 changed files with 125 additions and 101 deletions
+9 -3
View File
@@ -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