Displaying 2 results from an estimated 2 matches for "4fd2184a".
2020 Jan 10
0
[v2v PATCH 6/6] Revamp check for Python code style
...@@ AS_IF([test "x$VALGRIND" != "xno"],[
])
AC_SUBST([VG])
AM_SUBST_NOTMAKE([VG])
+
+dnl pycodestyle, used to check the Python scripts.
+AC_CHECK_PROGS([PYCODESTYLE],[pycodestyle],[no])
diff --git a/v2v/test-v2v-python-syntax.sh b/v2v/test-v2v-python-syntax.sh
index e2936826..4fd2184a 100755
--- a/v2v/test-v2v-python-syntax.sh
+++ b/v2v/test-v2v-python-syntax.sh
@@ -34,12 +34,9 @@ done
# Checks the files correspond to PEP8 coding style.
# https://www.python.org/dev/peps/pep-0008/
-if $python-pep8 --version >/dev/null 2>&1; then
- for f in $files; do
- # I...
2020 Jan 10
7
[v2v PATCH 0/6] Various Python pycodestyle fixes
Fixes the majority of the pycodestyle issues in the Python scripts, and
fix the existing test-v2v-python-syntax.sh to use pycodestyle to
actually perform style checks.
Pino Toscano (6):
PEP 8: adapt whitespaces in lines
PEP 8: move imports at the top
PEP 8: adapt empty lines
tests: find all the Python scripts for syntax checks
-o rhv-upload: remove unused Python imports
Revamp check