on master help sign in
Merge pull request #2299 from rachmadaniHaryono/feature/pep8-to-pycodestyle
6489a56Alexandre Flament
Makefile+3−3
@@ -235,9 +235,9 @@ test.sh:
235 shellcheck -x .config.sh
235 shellcheck -x .config.sh
236
236
237test.pep8: pyenvinstall
237test.pep8: pyenvinstall
238− @echo "TEST pep8"
238+ @echo "TEST pycodestyle (formerly pep8)"
239− $(Q)$(PY_ENV_ACT); pep8 --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \
239+ $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \
240− --max-line-length=120 --ignore "E402,W503" searx tests
240+ --max-line-length=120 --ignore "E117,E252,E402,E722,E741,W503,W504,W605" searx tests
241
241
242test.unit: pyenvinstall
242test.unit: pyenvinstall
243 @echo "TEST tests/unit"
243 @echo "TEST tests/unit"
requirements-dev.txt+1−1
@@ -1,7 +1,7 @@
1mock==2.0.0
1mock==2.0.0
2nose2[coverage_plugin]==0.9.2
2nose2[coverage_plugin]==0.9.2
3cov-core==1.15.0
3cov-core==1.15.0
4−pep8==1.7.0
4+pycodestyle==2.6.0
5pylint==2.4.4
5pylint==2.4.4
6plone.testing==5.0.0
6plone.testing==5.0.0
7splinter==0.11.0
7splinter==0.11.0