How to find ruff dynamically?
Opened this issue · 0 comments
kaddkaka commented
Let's say I have a system global python-lsp-server installed, is it possible to make it load and get diagnostics from ruff via PATH and also adhering to the project pyproject settings?
For example:
- Project A:
ruff 0.4.4
- Project B:
ruff 0.6.0
- Project C:
ruff 0.6.0
with different rules enabled
The different version of ruff are "loaded" using nix-direnv when I enter the folder for each project.
python-lsp-ruff
seems to install its own version of ruff (0.7.0
as of today), which doesn't match either of the projects. see related issue here: python-lsp/python-lsp-ruff#100