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:
Dionisio E Alonso 2024-02-24 14:03:39 -03:00
parent 773acf8ec4
commit 85838e4521
1 changed files with 0 additions and 1 deletions

View File

@ -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
},
}