2026-07-06 09:28:02 -08:00
|
|
|
[tool.ruff]
|
|
|
|
|
target-version = "py311"
|
|
|
|
|
|
2025-05-13 16:27:20 +02:00
|
|
|
[tool.ruff.lint]
|
2026-07-06 22:24:19 +02:00
|
|
|
ignore = [
|
|
|
|
|
"ASYNC109", # Async function definition with a timeout parameter
|
|
|
|
|
"E501", # line-too-long
|
|
|
|
|
"E711", # none-comparison
|
|
|
|
|
"E712", # true-false-comparison
|
|
|
|
|
"UP031", # printf-string-formatting
|
|
|
|
|
"UP032", # f-string
|
|
|
|
|
"UP042", # replace-str-enum
|
|
|
|
|
"G004", # logging-f-string
|
|
|
|
|
]
|
|
|
|
|
extend-select = [
|
|
|
|
|
"ASYNC", # https://docs.astral.sh/ruff/rules/#flake8-async-async
|
|
|
|
|
"B904", # https://docs.astral.sh/ruff/rules/raise-without-from-inside-except/
|
|
|
|
|
"G", # https://docs.astral.sh/ruff/rules/#flake8-logging-format-g
|
|
|
|
|
"I", # https://docs.astral.sh/ruff/rules/#isort-i
|
|
|
|
|
"UP", # https://docs.astral.sh/ruff/rules/#pyupgrade-up
|
|
|
|
|
]
|