mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
`ASYNC` rules [1] tries to find issues regarding asynchronous code. This change enables `ruff` to start reporting these issues, and fixes existing warnings. [1] https://docs.astral.sh/ruff/rules/#flake8-async-async
12 lines
307 B
TOML
12 lines
307 B
TOML
[lint]
|
|
# Generic, formatter-friendly config.
|
|
# ASYNC: flake8-async.
|
|
# B: flake8-bugbear.
|
|
# D3: flake8-docstrings (D3xx).
|
|
# E: pycodestyle errors.
|
|
# F: Pyflakes.
|
|
select = ["ASYNC", "B", "D3", "E", "F"]
|
|
|
|
# Never enforce `E501` (line length violations). This should be handled by formatters.
|
|
ignore = ["E501"]
|