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 13:18:41 -07:00
committed by Paulus Schoutsen
parent 7cb6607b1f
commit 6a731a68cd
4 changed files with 6 additions and 3 deletions
+1 -1
View File
@@ -167,7 +167,7 @@ stages:
displayName: 'Install Home Assistant'
- script: |
. venv/bin/activate
pylint -j 2 homeassistant
pylint homeassistant
displayName: 'Run pylint'
- job: 'Mypy'
pool: