Add ruff plugin to pylsp

This commit is contained in:
Lillian Violet 2024-09-10 14:10:41 +02:00
parent 202893ec08
commit 460d421513

View file

@ -76,6 +76,15 @@
}
];
language-server = {
pylsp = {
config.pylsp.plugins = {
ruff = {
enabled = true;
ignore = ["F401"];
lineLength = 120;
};
};
};
ruff = {
command = "ruff-lsp";
};