|
From: | Hanna Reitz |
Subject: | Re: [PATCH v3 16/16] iotests/linters: check mypy files all at once |
Date: | Fri, 17 Sep 2021 13:23:41 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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 <jsnow@redhat.com> --- tests/qemu-iotests/linters.py | 62 ++++++++++++++++------------------- 1 file changed, 29 insertions(+), 33 deletions(-)
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |