ruff: add flake8-bugbear
parent
7940fb6fe4
commit
2d20b220ce
|
@ -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: pep8-naming (N), flake8-annotations (ANN)
|
||||
select = ["E", "F", "D", "UP", "YTT", "ASYNC"]
|
||||
# Other options: pep8-naming (N), flake8-annotations (ANN), flake8-blind-except (BLE)
|
||||
select = ["E", "F", "D", "UP", "YTT", "ASYNC", "B"]
|
||||
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