Enable Complexity for ruff

This commit is contained in:
Matthias
2023-02-25 20:50:26 +01:00
parent c8a4a773ee
commit 305eda74e2
2 changed files with 20 additions and 9 deletions

View File

@@ -61,7 +61,11 @@ ignore = ["freqtrade/vendor/**"]
[tool.ruff]
line-length = 100
extend-exclude = [".env"]
target-version = "py38"
extend-select = [
"C90", # mccabe
# "N", # pep8-naming
# "UP", # pyupgrade
"TID", # flake8-tidy-imports
# "EXE", # flake8-executable
"YTT", # flake8-2020
@@ -70,3 +74,6 @@ extend-select = [
# "TCH", # flake8-type-checking
# "PTH", # flake8-use-pathlib
]
[tool.ruff.mccabe]
max-complexity = 12