Parallelize pylint everywhere (#28149)

* Run 2 pylint jobs by default

* Run pylint with autodetected number of jobs in Travis

Gives a ~25% speedup there at the moment.
This commit is contained in:
Ville Skyttä 2019-10-23 23:18:41 +03:00 committed by Paulus Schoutsen
parent 7cb6607b1f
commit 6a731a68cd
4 changed files with 6 additions and 3 deletions

View file

@ -19,7 +19,7 @@ matrix:
- python: "3.6.1"
env: TOXENV=lint
- python: "3.6.1"
env: TOXENV=pylint
env: TOXENV=pylint PYLINT_ARGS=--jobs=0
- python: "3.6.1"
env: TOXENV=typing
- python: "3.6.1"