qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 12/47] qapi: enforce import order/styling with isort


From: Cleber Rosa
Subject: Re: [PATCH v3 12/47] qapi: enforce import order/styling with isort
Date: Tue, 29 Sep 2020 00:13:57 -0400

On Mon, Sep 28, 2020 at 10:34:42AM -0400, John Snow wrote:
> On 9/28/20 8:13 AM, Markus Armbruster wrote:
> > PEP 8: "Surround top-level function and class definitions with two blank
> > lines."
> > 
> > [...]
> > 
> > 
> 
> Yep, but flake8 does not complain about the first definitions that occur
> below imports. Why not? I don't know.
> 
> Regardless, I can change it and fold the changes in; they won't affect much
> here.
> 

Well, on all of the cases here, it's not function or class definition
that follows, so that aspect of PEP 8 is not being violated.

- Cleber.

Attachment: signature.asc
Description: PGP signature


reply via email to

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