Skip to content
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

Disable linting/formatting #19

Open
SecT0uch opened this issue Aug 23, 2024 · 0 comments
Open

Disable linting/formatting #19

SecT0uch opened this issue Aug 23, 2024 · 0 comments

Comments

@SecT0uch
Copy link

SecT0uch commented Aug 23, 2024

I would like to use ruff-lsp for linting and formatting and python-language-server for completions (ruff doesn't do completions).

When activating both plugins at the same time, linting is not working anymore.
Is there any way to configure these options of the LSP server ?

I would like to configure the LSP server with:

pylsp.plugins.autopep8.enabled = false
pylsp.plugins.flake8.enabled = false
pylsp.plugins.yapf.enabled = false
pylsp.plugins.black.enabled = false
pylsp.plugins.pylint.enabled = false
pylsp.plugins.pyflakes.enabled = false
pylsp.plugins.pycodestyle.enabled = false
pylsp.plugins.pydocstyle.enabled = false
pylsp.plugins.mccabe.enabled = false
pylsp.plugins.rope_autoimport.code_actions.enabled = false

Can we do that via settings.toml or superlou.lapce-python/volt.toml ?

Or even better: would it be possible to disable linting and formatting capabilities of the plugin ? So if a new linter gets added to python-lang-server we won't have to edit our configuration to exclude it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant