Fixes the majority of the pycodestyle issues in the Python bindings, leaving only an overly length line in setup.py.
Add a simple optional pycodestyle-based test to avoid regressions in the future. Pino Toscano (7): python: PEP 8: adapt empty lines python: PEP 8: adapt whitespaces in lines python: tests: catch specific exception python: tests: improve variable naming python: tests: remove unused imports python: improve errors in inspect_vm example python: add a pycodestyle test config.sh.in | 1 + generator/python.ml | 5 ++--- m4/guestfs-python.m4 | 3 +++ python/Makefile.am | 5 +++++ python/examples/inspect_vm.py | 7 +++++-- python/t/test020Create.py | 1 + python/t/test030CreateFlags.py | 3 ++- python/t/test040CreateMultiple.py | 2 ++ python/t/test050HandleProperties.py | 1 + python/t/test070OptArgs.py | 1 - python/t/test080Version.py | 2 -- python/t/test090RetValues.py | 10 +++++----- python/t/test100Launch.py | 1 - python/t/test410CloseEvent.py | 1 - python/t/test420LogMessages.py | 1 - python/t/test430ProgressMessages.py | 3 ++- python/t/test800ExplicitClose.py | 1 - python/t/test820RHBZ912499.py | 3 +-- python/t/test910Libvirt.py | 1 - python/t/tests_helper.py.in | 2 +- python/test-pycodestyle.sh | 30 +++++++++++++++++++++++++++++ 21 files changed, 61 insertions(+), 23 deletions(-) create mode 100755 python/test-pycodestyle.sh -- 2.24.1 _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
