Skip to content
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

Allow changing severity of flake8 messages #953

Closed
nawordar opened this issue Aug 9, 2022 · 1 comment
Closed

Allow changing severity of flake8 messages #953

nawordar opened this issue Aug 9, 2022 · 1 comment

Comments

@nawordar
Copy link

nawordar commented Aug 9, 2022

It annoys me that all pyflakes messages reported by flake8 have severity of errors. I know this is subjective and some people prefer to have everything reported as errors, so I think this should be configurable. For example:

{
  "pyls.plugins.flake8.severity": {
    "F": "warning",  # Set default severity of pyflakes messages to warning
    "F999": "error"  # ...but display F999 messages as errors
  }
}
@lieryan
Copy link

lieryan commented Sep 25, 2022

This repository is no longer maintained. The project now lives in python-lsp-server (pylsp), which is a maintained fork of python-language-server (pyls).

If you have projects still using pyls, you should update it to use pylsp instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants