File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ There also exists an [AUR package](https://aur.archlinux.org/packages/python-lsp
18
18
19
19
# Usage
20
20
21
- This plugin will disable ` flake8 ` and ` pycodestyle ` by default.
21
+ This plugin will disable ` flake8 ` , ` pycodestyle ` and ` mccabe ` by default.
22
22
When enabled, all linting diagnostics will be provided by ` ruff ` .
23
23
24
24
# Configuration
Original file line number Diff line number Diff line change 20
20
21
21
@hookimpl
22
22
def pylsp_settings ():
23
- # flake8 and pycodestyle disabled by default with this plugin
23
+ # this plugin disables flake8, mccabe, and pycodestyle by default
24
24
return {
25
25
"plugins" : {
26
26
"ruff" : {
@@ -34,6 +34,7 @@ def pylsp_settings():
34
34
"select" : None ,
35
35
},
36
36
"flake8" : {"enabled" : False },
37
+ "mccabe" : {"enabled" : False },
37
38
"pycodestyle" : {"enabled" : False },
38
39
}
39
40
}
You can’t perform that action at this time.
0 commit comments