diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-01 16:07:59 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-01 16:07:59 +0200 |
commit | 31437d04e82ec9cde4209d881f6635ac39d92ac4 (patch) | |
tree | c821da4bfe35d5d4348e688dbca37221b70f83c6 /utils | |
parent | 565493b57d3dbef94f4c298b7395e26fc24bb9bd (diff) | |
download | searxng-31437d04e82ec9cde4209d881f6635ac39d92ac4.tar.gz searxng-31437d04e82ec9cde4209d881f6635ac39d92ac4.zip |
makefile.python: hardening - start pylint by module
- replace: $(PY_ENV_BIN)/pylint --> $(PY_ENV_BIN)/python -m pylint
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/makefile.python | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/makefile.python b/utils/makefile.python index 699bef5e1..aaf21c115 100644 --- a/utils/makefile.python +++ b/utils/makefile.python @@ -121,10 +121,10 @@ quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate # $2 path to lint quiet_cmd_pylint = LINT $@ - cmd_pylint = $(PY_ENV_BIN)/pylint --rcfile $(PYLINT_RC) $2 + cmd_pylint = $(PY_ENV_BIN)/python -m pylint --rcfile $(PYLINT_RC) $2 quiet_cmd_pytest = TEST $@ - cmd_pytest = $(PY_ENV_BIN)/tox -vv + cmd_pytest = $(PY_ENV_BIN)/python -m tox -vv # setuptools, pip, easy_install its a mess full of cracks, a documentation hell # and broken by design ... all sucks, I really, really hate all this ... aaargh! |