0001-ci-speed-up-CI-using-multiple-processes-with-pylint-.patch
pylint.sh | ||
---|---|---|
1 | 1 |
#!/bin/bash |
2 | 2 |
set -e -x |
3 | 3 |
env |
4 | ||
5 |
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 | ||
---|---|---|
51 | 51 |
codestyle: pre-commit run --all-files --show-diff-on-failure |
52 | 52 | |
53 | 53 |
[testenv:pylint] |
54 |
setenv = |
|
55 |
NUMPROCESSES={env:NUMPROCESSES:6} |
|
54 | 56 |
sitepackages = true |
55 | 57 |
deps = |
56 | 58 |
pytest>=3.6 |
57 |
- |