ruff: Use older default ruleset from ruff 0.15
All checks were successful
Run tests and linters / test (pull_request) Successful in 2m29s
All checks were successful
Run tests and linters / test (pull_request) Successful in 2m29s
Adjusting to the new ruleset will be considerable work. Keep the original ruleset for now. Fixes: #322
This commit is contained in:
parent
55c22b71a6
commit
8c4ab44083
1 changed files with 8 additions and 1 deletions
|
|
@ -11,6 +11,13 @@ extend-exclude = [
|
|||
"versioneer.py",
|
||||
]
|
||||
|
||||
[tool.ruff.lint]
|
||||
# FIXME: This is the default rule set for ruff 0.15. From 0.16, a much larger default rule set
|
||||
# is used. We should gradually adjust code to satisfy the new checks (or define our own ruleset).
|
||||
# https://astral.sh/blog/ruff-v0.16.0#migrating-to-v016
|
||||
# https://forge.fedoraproject.org/quality/blockerbugs/issues/322
|
||||
select = ["E4", "E7", "E9", "F"]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["blockerbugs"]
|
||||
|
||||
|
|
@ -51,4 +58,4 @@ ignore_missing_imports = true
|
|||
exclude = [
|
||||
"^blockerbugs/_version\\.py$",
|
||||
"^versioneer\\.py$",
|
||||
]
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue