Skip to content

Disable linting/formatting #19

Description

@SecT0uch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions