diff options
author | John Snow <jsnow@redhat.com> | 2021-10-19 10:49:05 -0400 |
---|---|---|
committer | John Snow <jsnow@redhat.com> | 2021-11-01 11:54:59 -0400 |
commit | 8f7960fa3120806e0933795c6f34d8b5b09c622b (patch) | |
tree | fc71f781bb304f7e348a7abe8819d1972e7f712f /tests/qemu-iotests/297 | |
parent | 95a556e7c7ddeb8e9e370dd074f48ab77915aa82 (diff) | |
download | qemu-8f7960fa3120806e0933795c6f34d8b5b09c622b.zip qemu-8f7960fa3120806e0933795c6f34d8b5b09c622b.tar.gz qemu-8f7960fa3120806e0933795c6f34d8b5b09c622b.tar.bz2 |
iotests/297: Split mypy configuration out into mypy.ini
More separation of code and configuration.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-id: 20211019144918.3159078-3-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/297')
-rwxr-xr-x | tests/qemu-iotests/297 | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/qemu-iotests/297 b/tests/qemu-iotests/297 index bc3a0ce..b8101e6 100755 --- a/tests/qemu-iotests/297 +++ b/tests/qemu-iotests/297 @@ -73,19 +73,7 @@ def run_linters(): sys.stdout.flush() env['MYPYPATH'] = env['PYTHONPATH'] - p = subprocess.run(('mypy', - '--warn-unused-configs', - '--disallow-subclassing-any', - '--disallow-any-generics', - '--disallow-incomplete-defs', - '--disallow-untyped-decorators', - '--no-implicit-optional', - '--warn-redundant-casts', - '--warn-unused-ignores', - '--no-implicit-reexport', - '--namespace-packages', - '--scripts-are-modules', - *files), + p = subprocess.run(('mypy', *files), env=env, check=False, stdout=subprocess.PIPE, |