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

Changing individual flake8 error severity #19207

Closed
xsrvmy opened this issue May 31, 2022 · 2 comments
Closed

Changing individual flake8 error severity #19207

xsrvmy opened this issue May 31, 2022 · 2 comments
Assignees
Labels
area-linting feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team

Comments

@xsrvmy
Copy link

xsrvmy commented May 31, 2022

Flake8's error grouping is still pretty unhelpful these days. Additionally, some of the the warnings are already shown in VSCode through other means (eg. unused variable, undefined variable (via pyright/pylance). It would be nice to be able to override based on the individual rule ID rather than just the category code. Additionally this is needed for better support for additional flake8 extensions.

vscode-eslint has something for this already.

@xsrvmy xsrvmy added the feature-request Request for new features or functionality label May 31, 2022
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label May 31, 2022
@karthiknadig karthiknadig self-assigned this May 31, 2022
@karthiknadig
Copy link
Member

karthiknadig commented Jun 1, 2022

@xsrvmy We are currently working on building tool specific extensions. You can follow this issue to get more details on the flake8 extension. #19094 .

There is a prototype version of flake8 extension here if you want to try: PyCQA/flake8#1467 . Here you can have control over individual error code severity.

@karthiknadig
Copy link
Member

closing this against #19094

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-linting feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants