Project

General

Profile

Development #67056

Use pylint --jobs flags to speed up linting step

Added by Agate Berriot 11 months ago. Updated 11 months ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
06 July 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:
No

Description

pylint offers a --jobs flag to use multiple processes:

--jobs <n-processes>, -j <n-processes>
Use multiple processes to speed up Pylint. Specifying 0
will auto-detect the number of processors available to
use, and will cap the count on Windows to avoid hangs.
(default: 1)

This can speed up our CI steps even more


Files


Related issues

Copied to w.c.s. - Development #67057: Use pylint --jobs flags to speed up linting stepFermé06 July 2022

Actions

Associated revisions

Revision 03279b1b (diff)
Added by Agate Berriot 11 months ago

ci: speed up CI using multiple processes with pylint (#67056)

History

#1

Updated by Agate Berriot 11 months ago

#2

Updated by Agate Berriot 11 months ago

Avec le patch, la pipeline prend 3min43s contre 4m44s sans, on est sur du 20-25% d'amélioration.

Je pense que la différence sera d'autant plus perceptible sur des codebases plus larges.

#3

Updated by Agate Berriot 11 months ago

#4

Updated by Valentin Deniaud 11 months ago

  • Status changed from Solution proposée to Solution validée
#5

Updated by Agate Berriot 11 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit ef3e665bb00345adc2bcaf40b830901a7330887f
Author: Agate <aberriot@entrouvert.com>
Date:   Wed Jul 6 10:09:06 2022 +0200

    ci: speed up CI using multiple processes with pylint (#67056)
#6

Updated by Transition automatique 11 months ago

  • Status changed from Résolu (à déployer) to Solution déployée
#7

Updated by Transition automatique 8 months ago

Automatic expiration

Also available in: Atom PDF