[Libguestfs] [libnbd PATCH] ci: Enable python code style

Richard W.M. Jones rjones at redhat.com
Wed Jun 23 11:31:14 UTC 2021


On Tue, Jun 22, 2021 at 03:38:13PM +0200, Martin Kletzander wrote:
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  ci/build.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/ci/build.sh b/ci/build.sh
> index 7d62a84a5d4b..4ea3fec7d512 100755
> --- a/ci/build.sh
> +++ b/ci/build.sh
> @@ -8,6 +8,7 @@ main() {
>      autoreconf -if
>  
>      CONFIG_ARGS="\
> +--enable-python-code-style \
>  --enable-gcc-warnings \
>  --enable-fuse \
>  --enable-ocaml \

It's OK as long as "someone" is going to chase up and fix the new
failures whenever flake8 changes, or we could do something like what
Nir suggests and pin a version of flake8.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list