-
Notifications
You must be signed in to change notification settings - Fork 148
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
Set up problems with python-lsp-ruff #1003
Comments
Thank for opening the issue! There are two problems:
|
My reading of the issue is that downgrading ruff to a version older than 0.0.285 should make it work for now (while you have 0.0.292). |
Now there are hints in jupyter from ruff. However i am confused with this blog post here https://astral.sh/blog/ruff-v0.1.0#a-growing-feature-set with Jupyter notebook support. What about there lsp? See https://github.com/astral-sh/ruff-lsp
|
Closing as python-lsp/python-lsp-ruff#59 was merged and I can confirm that latest versions of ruff and python-lsp-ruff work well with jupyterlab-lsp:
|
Description
I want to use python-lsp-ruff, instead of the default linter for python.
Reproduce
I use MX Linux 23. It's based on Debian 12.
Pipenv installed with
sudo nala install pipenv
This is the content of my Pipfile:
Install this with
pipenv install --dev
Do this step
jupyterlab-lsp/README.md
Line 156 in 5a86860
and this step
jupyterlab-lsp/README.md
Line 167 in 5a86860
start jupyer lab with
pipenv run jupyter lab
orpipenv shell
and thenjupyter lab
and then go to Advanced Settings Editor
https://github.com/jupyter-lsp/jupyterlab-lsp/blob/5a8686067bdeeb1f8ce5bc108d7fd047809b0f80/README.md?plain=1#L192C99-L192C123
Expected behavior
I would expect that pydocstyle was disabled, and ruff enabled, however I don't see that:
Context
Required: installed server extensions
Required: installed lab extensions
Troubleshoot Output
The text was updated successfully, but these errors were encountered: