Modernize ruff config
This commit is contained in:
parent
4b94618f34
commit
321d65b9c9
1 changed files with 4 additions and 2 deletions
|
|
@ -46,6 +46,8 @@ Home = "https://github.com/sbidoul/runboat"
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
fix = true
|
fix = true
|
||||||
target-version = "py310"
|
target-version = "py310"
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
select = [
|
select = [
|
||||||
"F", # pyflakes
|
"F", # pyflakes
|
||||||
"E", # pycodestyle
|
"E", # pycodestyle
|
||||||
|
|
@ -59,10 +61,10 @@ select = [
|
||||||
"RUF",
|
"RUF",
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff.mccabe]
|
[tool.ruff.lint.mccabe]
|
||||||
max-complexity = 15
|
max-complexity = 15
|
||||||
|
|
||||||
[tool.ruff.isort]
|
[tool.ruff.lint.isort]
|
||||||
known-first-party = ["runboat"]
|
known-first-party = ["runboat"]
|
||||||
|
|
||||||
# pytest
|
# pytest
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue