forked from cswimr/SeaCogs
test(ruff): enabled E, C, disabled C901
This commit is contained in:
parent
dd9e221e2d
commit
e34d621e6d
1 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ exclude = [
|
||||||
]
|
]
|
||||||
|
|
||||||
# Same as Black.
|
# Same as Black.
|
||||||
line-length = 88
|
line-length = 300
|
||||||
indent-width = 4
|
indent-width = 4
|
||||||
|
|
||||||
# Assume Python 3.11
|
# Assume Python 3.11
|
||||||
|
@ -76,7 +76,7 @@ target-version = "py311"
|
||||||
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
||||||
# McCabe complexity (`C901`) by default.
|
# McCabe complexity (`C901`) by default.
|
||||||
select = ["F", "W", "E", "C901"]
|
select = ["F", "W", "E", "C901"]
|
||||||
ignore = []
|
ignore = ["C901"]
|
||||||
|
|
||||||
# Allow fix for all enabled rules (when `--fix`) is provided.
|
# Allow fix for all enabled rules (when `--fix`) is provided.
|
||||||
fixable = ["ALL"]
|
fixable = ["ALL"]
|
||||||
|
|
Loading…
Reference in a new issue