qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 02/11] scripts: qapi: black format main.py


From: Markus Armbruster
Subject: Re: [PATCH v2 02/11] scripts: qapi: black format main.py
Date: Wed, 18 Oct 2023 13:00:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Victor Toso <victortoso@redhat.com> writes:

> flake8 complained:
>     ./main.py:60:1: E302 expected 2 blank lines, found 1
>
> Which is simple enough. My vim has black [0] enabled by default, so it
> did some extra formatting. I'm proposing to follow it.
>
> [0] https://black.readthedocs.io/en/stable/
>
> Signed-off-by: Victor Toso <victortoso@redhat.com>
> ---
>  scripts/qapi/main.py | 76 ++++++++++++++++++++++++++++----------------
>  1 file changed, 48 insertions(+), 28 deletions(-)

Is this all black hates about scripts/qapi/?

Did you configure it in any way, and if yes, how?

[...]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]