preferences.py: pylint, SPDX tag & docstrings (no functional change)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser
2020-02-23 20:52:00 +01:00
parent 09f4e2cd31
commit 179be12732
2 changed files with 148 additions and 64 deletions

View File

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