On 16.09.21 06:09, John Snow wrote:
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.
Is it possible to pull this to the beginning of the series? Just because patch 14 has to make everything quite slow (which might be a tiny nuisance in bisecting some day?).
Signed-off-by: John Snow <js...@redhat.com> --- tests/qemu-iotests/linters.py | 62 ++++++++++++++++------------------- 1 file changed, 29 insertions(+), 33 deletions(-)
Reviewed-by: Hanna Reitz <hre...@redhat.com>