[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 12/15] python: add mypy to pipenv
From: |
Cleber Rosa |
Subject: |
Re: [PATCH v3 12/15] python: add mypy to pipenv |
Date: |
Wed, 28 Oct 2020 18:43:29 -0400 |
On Tue, Oct 20, 2020 at 03:35:52PM -0400, John Snow wrote:
> 0.730 appears to be about the oldest version that works with the
> features we want, including nice human readable output (to make sure
> iotest 297 passes), and type-parameterized Popen generics.
>
> 0.770, however, supports adding 'strict' to the config file, so require
> at least 0.770.
>
> Now that we are checking a namespace package, we need to tell mypy to
> allow PEP420 namespaces, so modify the mypy config as part of the move.
>
> mypy can now be run from the python root by typing 'mypy qemu'.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
> ---
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Tested-by: Cleber Rosa <crosa@redhat.com>
signature.asc
Description: PGP signature
- [PATCH v3 06/15] python: add pylint import exceptions, (continued)
- [PATCH v3 06/15] python: add pylint import exceptions, John Snow, 2020/10/20
- [PATCH v3 07/15] python: move pylintrc into setup.cfg, John Snow, 2020/10/20
- [PATCH v3 11/15] python: move mypy.ini into setup.cfg, John Snow, 2020/10/20
- [PATCH v3 09/15] python: move flake8 config to setup.cfg, John Snow, 2020/10/20
- [PATCH v3 12/15] python: add mypy to pipenv, John Snow, 2020/10/20
- Re: [PATCH v3 12/15] python: add mypy to pipenv,
Cleber Rosa <=
- [PATCH v3 08/15] python: add pylint to pipenv, John Snow, 2020/10/20
- [PATCH v3 10/15] python: Add flake8 to pipenv, John Snow, 2020/10/20
- [PATCH v3 13/15] python: move .isort.cfg into setup.cfg, John Snow, 2020/10/20
- [PATCH v3 14/15] python/qemu: add isort to pipenv, John Snow, 2020/10/20