Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Add new checker script for Ruff #2413

Open
MarcSeebold opened this issue Apr 25, 2023 · 2 comments
Open

Add new checker script for Ruff #2413

MarcSeebold opened this issue Apr 25, 2023 · 2 comments

Comments

@MarcSeebold
Copy link

Ruff is an extremely fast Python linter. Currently, it's not usable with Syntastic since there's no checker script for it.

@MarcSeebold
Copy link
Author

It seems that just copying the flake8 checker script and replacing "flake8" with "ruff" does the trick.

@lcd047
Copy link
Collaborator

lcd047 commented Apr 25, 2023

Ruff is an extremely fast Python linter.

Could be, but syntastic is an extremely dead Vim plugin. You might consider switching to ALE.

It seems that just copying the flake8 checker script and replacing "flake8" with "ruff" does the trick.

Then you don't need any code changes, you just need to set syntastic_python_flake8_exec to ruff. Or read about duplicate checkers and do it properly. That is, if for whatever reasons you still insist on using syntastic.

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

No branches or pull requests

2 participants