From 179be12732cc02ff39e70b76c37b142683710107 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 23 Feb 2020 20:52:00 +0100 Subject: preferences.py: pylint, SPDX tag & docstrings (no functional change) Signed-off-by: Markus Heiser --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f35b86c41..0fc7f996f 100644 --- a/Makefile +++ b/Makefile @@ -72,9 +72,11 @@ $(GH_PAGES):: PHONY += test test.pylint test.pep8 test.unit test.robot +test: test.pylint test.pep8 test.unit test.robot + # TODO: balance linting with pylint -test: test.pep8 test.unit test.robot - - make pylint +test.pylint: pylint-exe + $(call cmd,pylint,searx/preferences.py) test.pep8: pyenvinstall $(PY_ENV_ACT); ./manage.sh pep8_check -- cgit v1.2.3 From 4a94b4cca6e609856cf717dfae5d7ea4a1df0469 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 23 Feb 2020 22:51:07 +0100 Subject: searx/testing.py: pylint & SPDX tag (no functional change) Signed-off-by: Markus Heiser --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0fc7f996f..85f9760d0 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,7 @@ test: test.pylint test.pep8 test.unit test.robot # TODO: balance linting with pylint test.pylint: pylint-exe $(call cmd,pylint,searx/preferences.py) + $(call cmd,pylint,searx/testing.py) test.pep8: pyenvinstall $(PY_ENV_ACT); ./manage.sh pep8_check -- cgit v1.2.3 From 700574357ac1ee475be042b88aa5a8816f7793ba Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 24 Feb 2020 08:14:09 +0100 Subject: make test: bugfix, pyenvinstall is a prerequisite for the pylint test Signed-off-by: Markus Heiser --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 85f9760d0..85f549d8e 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ PHONY += test test.pylint test.pep8 test.unit test.robot test: test.pylint test.pep8 test.unit test.robot # TODO: balance linting with pylint -test.pylint: pylint-exe +test.pylint: pyenvinstall $(call cmd,pylint,searx/preferences.py) $(call cmd,pylint,searx/testing.py) -- cgit v1.2.3