Enable flake8 for python language server

This commit is contained in:
Jakob Lechner 2022-12-09 12:13:59 +00:00
parent 78b0bd6e9d
commit d790bc09f5
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

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