on master help sign in
makefile.python: hardening - start pylint by module
31437d0Markus Heiser
utils/makefile.python+2−2
@@ -121,10 +121,10 @@ quiet_cmd_virtualenv = PYENV usage: $ source ./$@/bin/activate
121
121
122# $2 path to lint
122# $2 path to lint
123quiet_cmd_pylint = LINT $@
123quiet_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
125
125
126quiet_cmd_pytest = TEST $@
126quiet_cmd_pytest = TEST $@
127− cmd_pytest = $(PY_ENV_BIN)/tox -vv
127+ cmd_pytest = $(PY_ENV_BIN)/python -m tox -vv
128
128
129# setuptools, pip, easy_install its a mess full of cracks, a documentation hell
129# setuptools, pip, easy_install its a mess full of cracks, a documentation hell
130# and broken by design ... all sucks, I really, really hate all this ... aaargh!
130# and broken by design ... all sucks, I really, really hate all this ... aaargh!