[Freeipa-devel] [PATCH 0087] Pylint: enable parallelism

Tomas Babej tbabej at redhat.com
Fri Mar 4 13:13:08 UTC 2016


On 03/01/2016 03:46 PM, Petr Spacek wrote:
> Hello,
> 
> Pylint: enable parallelism
> 
> The config file specifies 8 cores but Pylint very quickly
> ends up with 3 cores so do not worry about overwhelming your system.

I like the idea of the patch, however, on my single-CPU VM this causes
additional overhead and lint ends up taking more time (+15%).

>From the pylint docs [1]:

 If the provided number is 0 then the number of CPUs will be used.

I'd suggest we use this value instead, to get the best of both worlds :)

Tomas

[1] https://docs.pylint.org/run.html




More information about the Freeipa-devel mailing list