diff options
author | John Snow <jsnow@redhat.com> | 2021-09-23 14:07:12 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-10-06 10:25:55 +0200 |
commit | f39decb583669e4335eaf2d1a5b8183254df51d6 (patch) | |
tree | b0da2f21005cf11d5220453d98086796348685ab /python | |
parent | af6d4c56e15a45fb4d0cdf8d0335275b5ed8fbf7 (diff) | |
download | qemu-f39decb583669e4335eaf2d1a5b8183254df51d6.zip qemu-f39decb583669e4335eaf2d1a5b8183254df51d6.tar.gz qemu-f39decb583669e4335eaf2d1a5b8183254df51d6.tar.bz2 |
iotests/linters: check mypy files all at once
We can circumvent the '__main__' redefinition problem by passing
--scripts-are-modules. Take mypy out of the loop per-filename and check
everything in one go: it's quite a bit faster.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210923180715.4168522-4-jsnow@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions