On Thu, Feb 11, 2021 at 01:58:47PM -0500, 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'. >
$ mypy qemu qemu/utils/accel.py: error: Source file found twice under different module names: 'qmp' and 'qemu.qmp' Found 1 error in 1 file (errors prevented further checking) I guess you meant 'mypy -p qemu'. > Signed-off-by: John Snow <js...@redhat.com> > --- > python/Pipfile | 1 + > python/Pipfile.lock | 37 ++++++++++++++++++++++++++++++++++++- > python/setup.cfg | 1 + > 3 files changed, 38 insertions(+), 1 deletion(-) > With that change, Reviewed-by: Cleber Rosa <cr...@redhat.com> Tested-by: Cleber Rosa <cr...@redhat.com>
signature.asc
Description: PGP signature