[libvirt PATCH] tools: Fix style issues in virt-qemu-sev-validate

Daniel P. Berrangé berrange at redhat.com
Thu Dec 8 17:09:39 UTC 2022


On Thu, Dec 08, 2022 at 06:06:23PM +0100, Andrea Bolognani wrote:
> The script had an incorrect interpreter line until commit
> f6a19d7264bb, so the flake8 check would not realize it needed
> to pick it up and these issues, some of which were present it
> the very first version that was committed, were not being
> reported.

Hmm, if flake8 is going to be restricted to /usr/bin/env python,
then we ought to have a syntax check to forbid /usr/bin/python*,
to prevent missing the flake8 check.

> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  tools/virt-qemu-sev-validate | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the libvir-list mailing list