Skip to content

Ruff extension depends on ms-python.python breaking non-Pylance LSPs #636

Open
@felixm-stripe

Description

@felixm-stripe

Hi!

At Stripe we use Ruff to check our code (very happy with the speed, UX, and lints available). However, we also rely on a different LSP to type-check the code properly at scale. That LSP is incompatible with Pylance, and as such, Pylance needs to be disabled.

Since the Ruff extension depends on ms-python.python, and it in turn automatically installs and enables Pylance, our engineers are forced to manually intervene to disable Pylance whenever the Ruff extension gets re-installed / updated. Currently, there's no way to configure banned extensions in VSCode, so we have tooling to instead remove the extensions when we push an update. However, sometimes Ruff gets updated out of band.

Could we remove the reliance on ms-python.python in the Ruff extension?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions