0002-ci-speed-up-CI-using-multiple-processes-with-pylint-.patch
pylint.sh | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 | 2 |
set -e |
3 | 3 | |
4 |
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0 |
|
4 |
pylint --jobs ${NUMPROCESSES:-1} -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0
|
tox.ini | ||
---|---|---|
120 | 120 |
setenv = |
121 | 121 |
DJANGO_SETTINGS_MODULE=authentic2.settings |
122 | 122 |
SETUPTOOLS_USE_DISTUTILS=stdlib |
123 |
NUMPROCESSES={env:NUMPROCESSES:1} |
|
123 | 124 |
deps = |
124 | 125 |
pylint |
125 | 126 |
pylint-django |
126 |
- |