mirror of
https://github.com/nicolargo/glances.git
synced 2024-08-17 00:10:48 +03:00
chg: ruff - mccabe (CC>21)
This commit is contained in:
parent
1f628642d4
commit
f9a06a31f0
@ -13,7 +13,7 @@ quote-style = "preserve"
|
||||
[tool.ruff.lint]
|
||||
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
|
||||
select = [
|
||||
# "C90", # mccabe
|
||||
"C90", # mccabe
|
||||
"E", # pycodestyle
|
||||
"F", # Pyflakes
|
||||
"I", # isort
|
||||
@ -63,4 +63,4 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
|
||||
[tool.ruff.lint.mccabe]
|
||||
# Unlike Flake8, default to a complexity level of 10.
|
||||
max-complexity = 18
|
||||
max-complexity = 21
|
Loading…
Reference in New Issue
Block a user