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

2021-02-11 Thread Cleber Rosa
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 > --namespac

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

2021-02-11 Thread John Snow
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 --- tests/qemu-i