chg: test: Makefile pep8 test

This commit is contained in:
rachmadaniHaryono 2020-11-06 08:40:21 +08:00
parent 3dea5eada0
commit d422f60529
1 changed files with 2 additions and 2 deletions

View File

@ -235,8 +235,8 @@ test.sh:
shellcheck -x .config.sh shellcheck -x .config.sh
test.pep8: pyenvinstall test.pep8: pyenvinstall
@echo "TEST pep8" @echo "TEST pycodestyle (formerly pep8)"
$(Q)$(PY_ENV_ACT); pep8 --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \ $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \
--max-line-length=120 --ignore "E402,W503" searx tests --max-line-length=120 --ignore "E402,W503" searx tests
test.unit: pyenvinstall test.unit: pyenvinstall