on master help sign in
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>

commit31437d04e82ec9cde4209d881f6635ac39d92ac4 authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 1 Apr 2020, 16:07 (7 years ago) parent565493b
1 file changed+2−2
utils/makefile.python+2−2
utils/makefile.python+2−2
@@ -121,10 +121,10 @@ quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate
121121
122122# $2 path to lint
123123quiet_cmd_pylint = LINT $@
124− cmd_pylint = $(PY_ENV_BIN)/pylint --rcfile $(PYLINT_RC) $2
124+ cmd_pylint = $(PY_ENV_BIN)/python -m pylint --rcfile $(PYLINT_RC) $2
125125
126126quiet_cmd_pytest = TEST $@
127− cmd_pytest = $(PY_ENV_BIN)/tox -vv
127+ cmd_pytest = $(PY_ENV_BIN)/python -m tox -vv
128128
129129# setuptools, pip, easy_install its a mess full of cracks, a documentation hell
130130# and broken by design ... all sucks, I really, really hate all this ... aaargh!