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
1818
1919# Usage
2020
21- This plugin will disable ` flake8 ` and ` pycodestyle ` by default.
21+ This plugin will disable ` flake8 ` , ` pycodestyle ` and ` mccabe ` by default.
2222When enabled, all linting diagnostics will be provided by ` ruff ` .
2323
2424# Configuration
Original file line number Diff line number Diff line change 2020
2121@hookimpl
2222def 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 }
You can’t perform that action at this time.
0 commit comments