-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ruff linter is not working #8
Comments
Ruff is included in lspconfig.pylsp.setup {
on_attach = nvlsp.on_attach,
on_init = nvlsp.on_init,
capabilities = nvlsp.capabilities,
settings = {
pylsp = {
plugins = {
ruff = {
enabled = true,
formatEnabled = true,
organizeImports = true,
},
black = { enabled = true },
mypy = { enabled = true },
pycodestyle = { enabled = false },
flake8 = { enabled = false }, -- duplicate ruff warnings
pylint = { enabled = false }, -- duplicate ruff warnings
isort = { enabled = false, profile = "black" }, -- duplicate ruff sorting
},
filetypes = { "python" },
},
},
} |
python-lsp/python-lsp-ruff#91 (comment) The |
I am switching to |
Back in 2023, ruff configs could only be passed via the pyproject.toml file. python-lsp/python-lsp-ruff#28 (comment) |
No description provided.
The text was updated successfully, but these errors were encountered: