Upgrade from pep8 --> pycodestyle
authorcclauss <cclauss@me.com>
Thu, 4 Jul 2019 20:14:26 +0000 (22:14 +0200)
committeryonghong-song <ys114321@gmail.com>
Wed, 17 Jul 2019 17:09:09 +0000 (10:09 -0700)
scripts/py-style-check.sh

index 78c8964..bed092a 100755 (executable)
@@ -3,8 +3,8 @@
 set -euo pipefail
 
 # TODO: stop ignoring this. Maybe autopep8 existing stuff?
-find tools -type f -name "*.py" | xargs pep8 -r --show-source --ignore=E123,E125,E126,E127,E128,E302 || \
-    echo "pep8 run failed, please fix it" >&2
+find tools -type f -name "*.py" | xargs pycodestyle -r --show-source --ignore=E123,E125,E126,E127,E128,E302 || \
+    echo "pycodestyle run failed, please fix it" >&2
 
 NO_PROPER_SHEBANG="$(find tools examples -type f -executable -name '*.py' | xargs grep -L '#!/usr/bin/python')"
 if [ -n "$NO_PROPER_SHEBANG" ]; then