diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-11-14 13:49:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-14 13:49:25 +0100 |
| commit | 6489a560ea9cbd8087f9872a8494f6d8ec76bf75 (patch) | |
| tree | bc7db62de06c7d78a58a5701d4b548f8090eb478 | |
| parent | e1bd617669a3964b0faefa4e75faf4ed29eb319d (diff) | |
| parent | 5d015b58f7437d4974d9b073f4b041f8d7956a4b (diff) | |
Merge pull request #2299 from rachmadaniHaryono/feature/pep8-to-pycodestyle
pep8 to pycodestyle
| -rw-r--r-- | Makefile | 6 | ||||
| -rw-r--r-- | requirements-dev.txt | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -235,9 +235,9 @@ test.sh: shellcheck -x .config.sh test.pep8: pyenvinstall - @echo "TEST pep8" - $(Q)$(PY_ENV_ACT); pep8 --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \ - --max-line-length=120 --ignore "E402,W503" searx tests + @echo "TEST pycodestyle (formerly pep8)" + $(Q)$(PY_ENV_ACT); pycodestyle --exclude='searx/static, searx/languages.py, searx/engines/gigablast.py' \ + --max-line-length=120 --ignore "E117,E252,E402,E722,E741,W503,W504,W605" searx tests test.unit: pyenvinstall @echo "TEST tests/unit" diff --git a/requirements-dev.txt b/requirements-dev.txt index c94d4af3f..d0d1ecc95 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,7 +1,7 @@ mock==2.0.0 nose2[coverage_plugin]==0.9.2 cov-core==1.15.0 -pep8==1.7.0 +pycodestyle==2.6.0 pylint==2.4.4 plone.testing==5.0.0 splinter==0.11.0 |