Skip to content

Commit 7d8a7fb

Browse files
committed
Remove C rules
1 parent ed934c8 commit 7d8a7fb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ <h3>Modifying hook behavior with a configuration file</h3>
920920
tool:
921921
</p>
922922
<pre>
923-
<code data-trim class="language-toml hide-line-numbers" data-line-numbers="2-3|5-7|9-21">
923+
<code data-trim class="language-toml hide-line-numbers" data-line-numbers="2-3|5-7|9-19">
924924
# pyproject.toml (the tool must support this file)
925925
[tool.ruff]
926926
line-length = 88
@@ -932,14 +932,12 @@ <h3>Modifying hook behavior with a configuration file</h3>
932932
[tool.ruff.lint]
933933
select = [
934934
"B", # flake8-bugbear rules
935-
"C", # mccabe rules
936935
"E", # pycodestyle error rules
937936
"F", # pyflakes rules
938937
"I", # isort rules
939938
"W", # pycodestyle warning rules
940939
]
941940
ignore = [
942-
"C901", # max-complexity-10
943941
"E501", # line-too-long
944942
]
945943
</code>

0 commit comments

Comments
 (0)