pyproject: adjust to new ruff settings layout
This commit is contained in:
parent
f9f2da6974
commit
8337901d34
1 changed files with 11 additions and 9 deletions
|
|
@ -1,4 +1,13 @@
|
|||
[tool.ruff]
|
||||
exclude = [
|
||||
".git/",
|
||||
"modules/",
|
||||
"node_modules/",
|
||||
]
|
||||
line-length = 118
|
||||
src = []
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
"A", # flake8-builtins
|
||||
"B", # flake8-bugbear
|
||||
|
|
@ -22,21 +31,14 @@ select = [
|
|||
"W", # warnings (mostly whitespace)
|
||||
"YTT", # flake8-2020
|
||||
]
|
||||
exclude = [
|
||||
".git/",
|
||||
"modules/",
|
||||
"node_modules/",
|
||||
]
|
||||
ignore = [
|
||||
"FBT002", # Boolean default value in function definition
|
||||
"FBT003", # Boolean positional value in function call
|
||||
]
|
||||
line-length = 118
|
||||
src = []
|
||||
|
||||
[tool.ruff.flake8-pytest-style]
|
||||
[tool.ruff.lint.flake8-pytest-style]
|
||||
fixture-parentheses = false
|
||||
mark-parentheses = false
|
||||
|
||||
[tool.ruff.isort]
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["cockpit"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue