qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 1/9] python: update for mypy 0.950


From: John Snow
Subject: Re: [RFC PATCH 1/9] python: update for mypy 0.950
Date: Fri, 13 May 2022 10:09:37 -0400



On Fri, May 13, 2022, 4:42 AM Paolo Bonzini <pbonzini@redhat.com> wrote:
On 5/13/22 02:06, John Snow wrote:
> typeshed (included in mypy) recently updated to improve the typing for
> WriteTransport objects. I was working around this, but now there's a
> version where I shouldn't work around it.
>
> Unfortunately this creates some minor ugliness if I want to support both
> pre- and post-0.950 versions. For now, for my sanity, just disable the
> unused-ignores warning.
>
> Signed-off-by: John Snow <jsnow@redhat.com>

Whatever floats your boat :)

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>

Paolo

Maybe I'll move towards pinning specific versions of analysis tools once we move to always using a venv, and I won't have to try so hard to target a wide spread of versions for mypy, pylint, etc.

I've tried pretty hard to "just have it work", but with the prevailing idioms in the Python world being what they are, I am playing whackamole virtually every release.

But, yeah, for now... meh. This keeps the boat afloat.


reply via email to

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