mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
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:
parent
ba58c7ecf9
commit
1b7b531d61
|
|
@ -2,9 +2,11 @@
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
|
||||||
[tool.ruff.lint]
|
[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/
|
# https://docs.astral.sh/ruff/rules/
|
||||||
select = ["E4", "E7", "E9", "F", "B", "I"]
|
extend-select = [
|
||||||
|
"B", # flake8-bugbear
|
||||||
|
"I", # isort
|
||||||
|
]
|
||||||
|
|
||||||
[tool.ruff.lint.isort]
|
[tool.ruff.lint.isort]
|
||||||
force-single-line = true
|
force-single-line = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user