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

Multiple Python flymake checkers #845

Closed
devnich opened this issue Jun 26, 2023 · 4 comments
Closed

Multiple Python flymake checkers #845

devnich opened this issue Jun 26, 2023 · 4 comments

Comments

@devnich
Copy link

devnich commented Jun 26, 2023

Hi Steve,

I'm not sure if this is a bug, or expected behavior from the flymake-flycheck module.

I create a new Python file with a single line:

import matplotlib.pyplot as plt

Flymake correctly highlights the line with a warning. Moving the cursor to the line causes 5 warnings to appear in the minibuffer:

Unused matplotlib.pyplot imported as plt [python-pylint]
'matplotlib.pyplot as plt' imported but unused [python-flake8]
Unused matplotlib.pyplot imported as plt [python-pylint]
'matplotlib.pyplot as plt' imported but unused [python-flake8]
'matplotlib.pyplot as plt' imported but unused

Do you have any suggestions on how to remove some of the redundancy? Thanks!

@ngn999
Copy link

ngn999 commented Aug 10, 2023

I just uninstall pylint. :)

@purcell
Copy link
Owner

purcell commented Aug 10, 2023

Hmm, it looks like the same checker is in there multiple times — I've pushed changes to the config (and to flymake-flycheck to address this). That might help a little. Note that you can add unwanted checkers to flycheck-disabled-checkers as needed.

@lvii
Copy link

lvii commented Nov 1, 2023

Hi @purcell hope to add ruff (An extremely fast Python linter, written in Rust) support. Thx.

flycheck/flycheck#1974

@devnich devnich closed this as completed Nov 1, 2023
purcell added a commit that referenced this issue Nov 1, 2023
@purcell
Copy link
Owner

purcell commented Nov 1, 2023

@lvii added ✅

0xMF pushed a commit to 0xMF/emacs.d that referenced this issue Nov 2, 2023
cdadar pushed a commit to cdadar/emacs.d that referenced this issue Nov 3, 2023
tommas1988 pushed a commit to tommas1988/emacs.d that referenced this issue Jan 1, 2024
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

4 participants