|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH 3/6] iotests/linters: check mypy files all at once |
Date: | Thu, 23 Sep 2021 18:39:12 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 |
23.09.2021 03:16, 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. Signed-off-by: John Snow<jsnow@redhat.com> Reviewed-by: Hanna Reitz<hreitz@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |