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.
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:
ruff 0.4.4
ruff 0.6.0
ruff 0.6.0
with different rules enabledThe 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: https://github.com/python-lsp/python-lsp-ruff/issues/100