mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-05 01:10:24 +00:00
Meta: Use "extend-select" to enable non-default python linters
Some checks failed
Package the js repl as a binary artifact / macOS, arm64 (push) Has been cancelled
Package the js repl as a binary artifact / Linux, x86_64 (push) Has been cancelled
Label PRs with merge conflicts / auto-labeler (push) Has been cancelled
Nightly Windows / CI (push) Has been cancelled
Nightly Lagom / Linux, arm64, Distribution_CI, Clang (push) Has been cancelled
Nightly Lagom / macOS, arm64, Distribution_CI, Clang (push) Has been cancelled
Nightly Lagom / Linux, arm64, Sanitizer_CI, Clang (push) Has been cancelled
Nightly Lagom / macOS, arm64, Sanitizer_CI, Swift (push) Has been cancelled
Nightly Lagom / Linux, x86_64, Distribution_CI, GNU (push) Has been cancelled
Nightly Lagom / Linux, x86_64, Sanitizer_CI, Swift (push) Has been cancelled
Close stale PRs / stale (push) Has been cancelled
Some checks failed
Package the js repl as a binary artifact / macOS, arm64 (push) Has been cancelled
Package the js repl as a binary artifact / Linux, x86_64 (push) Has been cancelled
Label PRs with merge conflicts / auto-labeler (push) Has been cancelled
Nightly Windows / CI (push) Has been cancelled
Nightly Lagom / Linux, arm64, Distribution_CI, Clang (push) Has been cancelled
Nightly Lagom / macOS, arm64, Distribution_CI, Clang (push) Has been cancelled
Nightly Lagom / Linux, arm64, Sanitizer_CI, Clang (push) Has been cancelled
Nightly Lagom / macOS, arm64, Sanitizer_CI, Swift (push) Has been cancelled
Nightly Lagom / Linux, x86_64, Distribution_CI, GNU (push) Has been cancelled
Nightly Lagom / Linux, x86_64, Sanitizer_CI, Swift (push) Has been cancelled
Close stale PRs / stale (push) Has been cancelled
This way we don't have to track the defaults.
This commit is contained in:
Notes:
github-actions[bot]
2025-06-09 21:50:30 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/1b7b531d616 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5043
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user