Enable flake8 for python language server
This commit is contained in:
parent
78b0bd6e9d
commit
d790bc09f5
1 changed files with 4 additions and 0 deletions
|
|
@ -107,6 +107,10 @@
|
|||
-- https://github.com/python-lsp/python-lsp-server/blob/develop/CONFIGURATION.md
|
||||
pylsp = {
|
||||
plugins = {
|
||||
flake8 = {
|
||||
enabled = true;
|
||||
executable = "${pkgs.python310Packages.flake8}/bin/flake8";
|
||||
};
|
||||
jedi_completion = { enabled = true; };
|
||||
jedi_definition = { enabled = true; };
|
||||
jedi_hover = { enabled = true; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue