Meta: Use "extend-select" to enable non-default python linters

This way we don't have to track the defaults.
This commit is contained in:
Timothy Flynn 2025-06-09 17:28:07 -04:00 committed by Tim Flynn
parent ba58c7ecf9
commit 1b7b531d61

View File

@ -2,9 +2,11 @@
line-length = 120
[tool.ruff.lint]
# On top of the defaults (`E4`, E7`, `E9`, and `F`), enable flake8-bugbear (`B`) and isort (`i`).
# https://docs.astral.sh/ruff/rules/
select = ["E4", "E7", "E9", "F", "B", "I"]
extend-select = [
"B", # flake8-bugbear
"I", # isort
]
[tool.ruff.lint.isort]
force-single-line = true