How to display certain errors as warnings in pylsp and/or ruff #8405
Unanswered
carlos-a-g-h
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using python-lsp-server as my LSP and the python-lsp-ruff plugin, It is working OK so far but there are some errors that I would like to appear as warnings
For example I have some code (we're talking about python here btw) that has some declared variables that are used by an eval() a few lines later on the same function but those variables are not used in the rest of the function and therefore I get an F841 as an error. An error is too much noise because I AM using those variables, So in cases like these I should get at least a warning, not an error
This is my languages.toml config right now:
Beta Was this translation helpful? Give feedback.
All reactions