Skip to content

Commit b247d11

Browse files
author
Gerard Vermeulen
committed
Disable mccabe too since ruff provides this functionality
1 parent f7d1be1 commit b247d11

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pylsp_ruff/ruff_lint.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
@hookimpl
2222
def pylsp_settings():
23-
# flake8 and pycodestyle disabled by default with this plugin
23+
# this plugin disables flake8, mccabe, and pycodestyle by default
2424
return {
2525
"plugins": {
2626
"ruff": {
@@ -34,6 +34,7 @@ def pylsp_settings():
3434
"select": None,
3535
},
3636
"flake8": {"enabled": False},
37+
"mccabe": {"enabled": False},
3738
"pycodestyle": {"enabled": False},
3839
}
3940
}

0 commit comments

Comments
 (0)