iotests/297: refactor run_[mypy|pylint] as generic execution shim
authorJohn Snow <jsnow@redhat.com>
Tue, 19 Oct 2021 14:49:10 +0000 (10:49 -0400)
committerJohn Snow <jsnow@redhat.com>
Mon, 1 Nov 2021 15:54:59 +0000 (11:54 -0400)
commita4bde736295bd0951005d7292b99086825f74f8a
treea90f4b0ccbb215f0150458d825539232878c0f9a
parent2d804f55b4f6b4f500ad99567c60631ac47fd860
iotests/297: refactor run_[mypy|pylint] as generic execution shim

There's virtually nothing special here anymore; we can combine these
into a single, rather generic function.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-id: 20211019144918.3159078-8-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
tests/qemu-iotests/297