summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-12-27 12:04:39 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-12-27 12:04:39 +0100
commitaf584f2c403fcf9ede7b71d28c3851b9cfd461fd (patch)
tree838cb263f97aa90fe4e47783dac954fa96fea07a /utils
parentb6dcf908164733dd99051123a3cbe78f9fed9feb (diff)
downloadsearxng-af584f2c403fcf9ede7b71d28c3851b9cfd461fd.tar.gz
searxng-af584f2c403fcf9ede7b71d28c3851b9cfd461fd.zip
[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>
Diffstat (limited to 'utils')
-rw-r--r--utils/makefile.python2
1 files changed, 1 insertions, 1 deletions
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