Skip to content

Commit 93d3744

Browse files
committed
Re-enable mccabe
1 parent 24d73fc commit 93d3744

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ select = [
2525
# isort
2626
"I",
2727
# mccabe
28-
# "C",
28+
"C",
2929
# pycodestyle
3030
"E",
3131
"W",
@@ -37,5 +37,9 @@ ignore = [
3737
"E501"
3838
]
3939

40+
[tool.ruff.lint.mccabe]
41+
# Double the max complexity
42+
max-complexity = 20
43+
4044
[tool.ruff.lint.per-file-ignores]
4145
"__init__.py" = ["E402"]

0 commit comments

Comments
 (0)