We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019be81 commit c0a65f5Copy full SHA for c0a65f5
pyproject.toml
@@ -101,8 +101,6 @@ exclude = ["bench*", ".github*"]
101
102
[tool.ruff]
103
line-length = 109
104
-# Raise complexity from the default 10 to 13
105
-complexity = 13
106
extend-exclude = ["bench"]
107
108
[tool.ruff.lint]
@@ -118,7 +116,7 @@ extend-select = [
118
116
"SIM",
119
117
"TC",
120
"UP",
121
-]
+ "C901"] # enable complexity rule
122
ignore = [
123
"B028",
124
"PT011",
@@ -132,3 +130,7 @@ ignore = [
132
130
133
131
[tool.ruff.lint.extend-per-file-ignores]
134
"tests/**" = ["F841"]
+
+[tool.ruff.lint.mccabe]
135
+# Raise complexity from the default 10 to 13
136
+max-complexity = 13
0 commit comments