on master help sign in
[perf] pylint: Use multiple processes to speed up Pylint.

Specifying '-j 0' will auto-detect the number of processors available to use. Suggested-by: @dalf / https://github.com/searx/searx/pull/2421#issuecomment-751444257 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commitaf584f2c403fcf9ede7b71d28c3851b9cfd461fd authorMarkus Heiser <markus.heiser@darmarit.de> dateSun 27 Dec 2020, 12:04 (6 years ago) parentb6dcf90
1 file changed+1−1
utils/makefile.python+1−1
utils/makefile.python+1−1
@@ -129,7 +129,7 @@ quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate
129129
130130# $2 path to lint
131131quiet_cmd_pylint = LINT $@
132− cmd_pylint = $(PY_ENV_BIN)/python -m pylint --rcfile $(PYLINT_RC) $2
132+ cmd_pylint = $(PY_ENV_BIN)/python -m pylint -j 0 --rcfile $(PYLINT_RC) $2
133133
134134quiet_cmd_pytest = TEST $@
135135 cmd_pytest = $(PY_ENV_BIN)/python -m tox -vv