mirror of https://gitlab.com/baco/dotconf.git
feat(LSP): Delete unnecessary line in configs
The deleted line was already commented out. There is no need for the line anyways as the mccabe plugin comes already disabled by default. Furthermore the option is a duplication, enabling the plugin and setting a value to the `threshold` has the same effect as setting the `maxComplexity` value on Flake8's plugin. The only distinction is McCabe came, when enabled, with a default preset value of 15 for `threshold`, which Flake8 hasn't for `maxComplexity`.
This commit is contained in:
parent
773acf8ec4
commit
85838e4521
|
@ -7,7 +7,6 @@ local pylsp_settings = {
|
|||
pylsp_mypy = { enabled = true },
|
||||
pycodestyle = { enabled = false }, -- covered in flake8
|
||||
pyflakes = { enabled = false }, -- covered in flake8
|
||||
-- mccabe = { enabled = false }, -- not covered in flake8 by default; PyLSP doesn't handle the option
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue