Uh oh!
There was an error while loading. Please reload this page.
build: replace Python linter flake8 with ruff - #47519
Conversation
Review requested:
|
6bba85d to
9da5ea6Compare
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?
nodejs-github-bot
commented
Apr 12, 2023
cclauss
commented
Apr 12, 2023
@anonrig Execution time is less than a 1/10th of a second. node git:(ruff) % |
|
cclauss
commented
Apr 12, 2023
These errors are caused by the mods that are made in the |
Uh oh!
There was an error while loading. Please reload this page.
richardlau
commented
Apr 14, 2023
We have a number of flaky tests (more since the recent V8 update). |
nodejs-github-bot
commented
Apr 14, 2023
nodejs-github-bot
commented
Apr 14, 2023
nodejs-github-bot
commented
Apr 14, 2023
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