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

CI: Enable parallelism in pylint #200

Merged
merged 2 commits into from Jul 10, 2023
Merged

Conversation

schopin-pro
Copy link
Contributor

It makes life easier when one wants to run the linter on multiple commits in a row...

This shuts up a spurious warning from pylint, that seems to think
that sys.args has 40 arguments when running in parallel mode.
This greatly reduces the time spent in pylint (which is by far the
slowest linter). On my laptop (4C/8T):

Before:
tests/run-linters  47,72s user 0,85s system 120% cpu 40,405 total

After:
tests/run-linters  94,81s user 2,20s system 411% cpu 23,600 total
@schopin-pro schopin-pro requested a review from bdrung July 10, 2023 10:20
@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Merging #200 (168578e) into main (1d374b8) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #200   +/-   ##
=======================================
  Coverage   82.66%   82.66%           
=======================================
  Files          91       91           
  Lines       18544    18544           
=======================================
  Hits        15329    15329           
  Misses       3215     3215           
Impacted Files Coverage Δ
data/gcc_ice_hook 72.22% <100.00%> (ø)

@bdrung bdrung merged commit a20664b into canonical:main Jul 10, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants