Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc89c698 authored by Markus Heiser's avatar Markus Heiser
Browse files

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

parent 09a40625
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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

ifeq ($(PY),2)
test.pylint:
	@echo "LINT      skip liniting py2"
else
# TODO: balance linting with pylint
test.pylint: pyenvinstall
	$(call cmd,pylint,\
		searx/preferences.py \
		searx/testing.py \
	)
endif

# ignored rules:
#  E402 module level import not at top of file