[Top][All Lists]

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

Re: [PATCH v4 02/24] iotests/297: add --namespace-packages to mypy argum

From: Cleber Rosa
Subject: Re: [PATCH v4 02/24] iotests/297: add --namespace-packages to mypy arguments
Date: Thu, 11 Feb 2021 23:53:49 -0500

On Thu, Feb 11, 2021 at 01:58:34PM -0500, John Snow wrote:
> mypy is kind of weird about how it handles imports. For legacy reasons,
> it won't load PEP 420 namespaces, because of logic implemented prior to
> that becoming a standard.
> So, if you plan on using any, you have to pass
> --namespace-packages. Alright, fine.
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
>  tests/qemu-iotests/297 | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Cleber Rosa <crosa@redhat.com>

Attachment: signature.asc
Description: PGP signature

reply via email to

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