Displaying 2 results from an estimated 2 matches for "56baa857".
2020 Jan 10
0
[v2v PATCH 6/6] Revamp check for Python code style
...644
--- a/config.sh.in
+++ b/config.sh.in
@@ -20,3 +20,4 @@
# mostly used in other shell scripts.
export VIRT_V2V_NBDKIT_PYTHON_PLUGIN="@VIRT_V2V_NBDKIT_PYTHON_PLUGIN@"
+export PYCODESTYLE="@PYCODESTYLE@"
diff --git a/m4/guestfs-progs.m4 b/m4/guestfs-progs.m4
index 5f481a75..56baa857 100644
--- a/m4/guestfs-progs.m4
+++ b/m4/guestfs-progs.m4
@@ -73,3 +73,6 @@ 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/...
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