Add ruff plugin to pylsp
This commit is contained in:
parent
202893ec08
commit
460d421513
|
@ -76,6 +76,15 @@
|
|||
}
|
||||
];
|
||||
language-server = {
|
||||
pylsp = {
|
||||
config.pylsp.plugins = {
|
||||
ruff = {
|
||||
enabled = true;
|
||||
ignore = ["F401"];
|
||||
lineLength = 120;
|
||||
};
|
||||
};
|
||||
};
|
||||
ruff = {
|
||||
command = "ruff-lsp";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue