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

Petr Spacek pspacek at redhat.com
Mon Mar 7 09:58:54 UTC 2016


On 4.3.2016 14:13, Tomas Babej wrote:
> 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 :)

Here you go.

Petr^2 Spacek


> Tomas
> 
> [1] https://docs.pylint.org/run.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pspacek-0087-2-Pylint-enable-parallelism.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160307/07b82a57/attachment.bin>


More information about the Freeipa-devel mailing list