build: replace Python linter flake8 with ruff#47519
build: replace Python linter flake8 with ruff#47519nodejs-github-bot merged 3 commits intonodejs:mainfrom
Conversation
|
Review requested:
|
6bba85d to
9da5ea6
Compare
anonrig
left a comment
There was a problem hiding this comment.
I'm a fan of Ruff. I was planning on doing this change. Happy to see this. Can you share the execution time difference with this change?
|
@anonrig Execution time is less than a 1/10th of a second. node git:(ruff) % |
|
|
|
These errors are caused by the mods that are made in the |
We have a number of flaky tests (more since the recent V8 update). |
|
Landed in 4c22414 |
|
Thanks all! -- Its a team sport ;-) If you are involved |
PR-URL: #47519 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
PR-URL: #47519 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
PR-URL: nodejs#47519 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Ruff supports over 500 lint rules and can be used to replace Flake8 (plus dozens of plugins), isort, pydocstyle, yesqa, eradicate, pyupgrade, and autoflake, all while executing (in Rust) tens or hundreds of times faster than any individual tool.
The ruff Action uses minimal steps to run in ~5 seconds, rapidly providing intuitive GitHub Annotations to contributors.
@charliermarsh