Project

General

Profile

Development #67056

Use pylint --jobs flags to speed up linting step

Added by A. B. almost 2 years ago. Updated almost 2 years 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 A. B. almost 2 years ago

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

History

#1

Updated by A. B. almost 2 years ago

#2

Updated by A. B. almost 2 years 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 A. B. almost 2 years ago

#4

Updated by Valentin Deniaud almost 2 years ago

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

Updated by A. B. almost 2 years 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 almost 2 years ago

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

Updated by Transition automatique over 1 year ago

Automatic expiration

Also available in: Atom PDF