mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-10 12:51:11 +03:00
Replaces aiofiles with anyio, because anyio.Path is much more complete and comparable to the Pathlib API.
22 lines
724 B
TOML
22 lines
724 B
TOML
[tool.ruff]
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
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
|
|
]
|