on master help sign in
make test.pylint: do not run pylint checks in py2

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commitfc89c698bd81a582b5ea7095de32a12d54a40268 authorMarkus Heiser <markus.heiser@darmarit.de> dateWed 1 Apr 2020, 19:20 (7 years ago) parent09a4062
1 file changed+5
Makefile+5
Makefile+5
@@ -186,12 +186,17 @@ PHONY += test test.pylint test.pep8 test.unit test.coverage test.robot
186186
187187test: buildenv test.pylint test.pep8 test.unit gecko.driver test.robot
188188
189+ifeq ($(PY),2)
190+test.pylint:
191+ @echo "LINT skip liniting py2"
192+else
189193# TODO: balance linting with pylint
190194test.pylint: pyenvinstall
191195 $(call cmd,pylint,\
192196 searx/preferences.py \
193197 searx/testing.py \
194198 )
199+endif
195200
196201# ignored rules:
197202# E402 module level import not at top of file