ruff: add flake8-async (ASYNC)
parent
d080a96a88
commit
7940fb6fe4
|
@ -79,8 +79,8 @@ build-backend = "poetry.core.masonry.api"
|
|||
[tool.ruff]
|
||||
# Ruff doesn't enable pycodestyle warnings (`W`) or
|
||||
# McCabe complexity (`C901`) by default.
|
||||
# Other options: N (pep8-naming)
|
||||
select = ["E", "F", "D", "UP", "YTT"]
|
||||
# Other options: pep8-naming (N), flake8-annotations (ANN)
|
||||
select = ["E", "F", "D", "UP", "YTT", "ASYNC"]
|
||||
ignore = [ "E501", "F405", "F841", "D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "D203", "D204", "D205", "D212", "D213", "D400", "D401", "D415", "D417", "D419"]
|
||||
|
||||
# Allow autofix for all enabled rules (when `--fix`) is provided.
|
||||
|
|
Loading…
Reference in New Issue