Commit fc89c698 authored by Markus Heiser's avatar Markus Heiser

make test.pylint: do not run pylint checks in py2

Signed-off-by: 's avatarMarkus Heiser <markus.heiser@darmarit.de>
parent 09a40625
...@@ -186,12 +186,17 @@ PHONY += test test.pylint test.pep8 test.unit test.coverage test.robot ...@@ -186,12 +186,17 @@ PHONY += test test.pylint test.pep8 test.unit test.coverage test.robot
test: buildenv test.pylint test.pep8 test.unit gecko.driver test.robot test: buildenv test.pylint test.pep8 test.unit gecko.driver test.robot
ifeq ($(PY),2)
test.pylint:
@echo "LINT skip liniting py2"
else
# TODO: balance linting with pylint # TODO: balance linting with pylint
test.pylint: pyenvinstall test.pylint: pyenvinstall
$(call cmd,pylint,\ $(call cmd,pylint,\
searx/preferences.py \ searx/preferences.py \
searx/testing.py \ searx/testing.py \
) )
endif
# ignored rules: # ignored rules:
# E402 module level import not at top of file # E402 module level import not at top of file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment