diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-01 19:20:52 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-04-01 19:20:52 +0200 |
commit | fc89c698bd81a582b5ea7095de32a12d54a40268 (patch) | |
tree | a0ef358fb35ebaf6eb50171ff17e524d2d8ffe26 | |
parent | 09a4062505a8d79451374139bab525457eeb28cd (diff) | |
download | searxng-fc89c698bd81a582b5ea7095de32a12d54a40268.tar.gz searxng-fc89c698bd81a582b5ea7095de32a12d54a40268.zip |
make test.pylint: do not run pylint checks in py2
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |