@@ -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