[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>
signature.asc
Description: PGP signature
- [PATCH v4 00/24] python: create installable package, John Snow, 2021/02/11
- [PATCH v4 02/24] iotests/297: add --namespace-packages to mypy arguments, John Snow, 2021/02/11
- Re: [PATCH v4 02/24] iotests/297: add --namespace-packages to mypy arguments,
Cleber Rosa <=
- [PATCH v4 01/24] python/console_socket: avoid one-letter variable, John Snow, 2021/02/11
- [PATCH v4 04/24] python: create utils sub-package, John Snow, 2021/02/11
- [PATCH v4 03/24] python: create qemu packages, John Snow, 2021/02/11
- [PATCH v4 05/24] python: add qemu package installer, John Snow, 2021/02/11