Switch to using pycodestyle instead of pep8

This commit is contained in:
William S Fulton 2017-12-30 17:07:15 +00:00
commit d1e5f1e0c8
2 changed files with 3 additions and 3 deletions

View file

@ -89,7 +89,7 @@ case "$SWIGLANG" in
travis_retry sudo apt-get -qq install php$VER-cli php$VER-dev travis_retry sudo apt-get -qq install php$VER-cli php$VER-dev
;; ;;
"python") "python")
pip install --user pep8 pip install --user pycodestyle
if [[ "$PY3" ]]; then if [[ "$PY3" ]]; then
travis_retry sudo apt-get install -qq python3-dev travis_retry sudo apt-get install -qq python3-dev
fi fi

View file

@ -895,9 +895,9 @@ else
fi fi
if test -n "$PYINCLUDE" || test -n "$PY3INCLUDE" ; then if test -n "$PYINCLUDE" || test -n "$PY3INCLUDE" ; then
AC_CHECK_PROGS(PEP8, pep8) AC_CHECK_PROGS(PEP8, pycodestyle)
if test -n "$PEP8"; then if test -n "$PEP8"; then
AC_MSG_CHECKING(pep8 version) AC_MSG_CHECKING(pycodestyle version)
pep8_version=`$PEP8 --version 2>/dev/null` pep8_version=`$PEP8 --version 2>/dev/null`
AC_MSG_RESULT($pep8_version) AC_MSG_RESULT($pep8_version)
fi fi