From af584f2c403fcf9ede7b71d28c3851b9cfd461fd Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 27 Dec 2020 12:04:39 +0100 Subject: [PATCH] [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 --- utils/makefile.python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/makefile.python b/utils/makefile.python index 42ad16d23..5d0837e00 100644 --- a/utils/makefile.python +++ b/utils/makefile.python @@ -129,7 +129,7 @@ quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate # $2 path to lint quiet_cmd_pylint = LINT $@ - cmd_pylint = $(PY_ENV_BIN)/python -m pylint --rcfile $(PYLINT_RC) $2 + cmd_pylint = $(PY_ENV_BIN)/python -m pylint -j 0 --rcfile $(PYLINT_RC) $2 quiet_cmd_pytest = TEST $@ cmd_pytest = $(PY_ENV_BIN)/python -m tox -vv