Meta: Use "extend-select" to enable non-default python linters
Some checks failed
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Build Dev Container Image / build (push) Has been cancelled

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
commit 1b7b531d61
Notes: github-actions[bot] 2025-06-09 21:50:30 +00:00

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