From 2eabcae9b589722cda7ea6c8bb75ebee61577db6 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Sun, 13 Jun 2021 21:24:45 -0700 Subject: run_mypy: lower required version to 0.812 I've run this against Meson and it has no spurious errors. I suspect that all versions >= .8 are fine, but I didn't test those. --- run_mypy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'run_mypy.py') diff --git a/run_mypy.py b/run_mypy.py index 79651d9..00daac6 100755 --- a/run_mypy.py +++ b/run_mypy.py @@ -58,8 +58,8 @@ def check_mypy() -> None: print('Failed import mypy') sys.exit(1) from mypy.version import __version__ as mypy_version - if not version_compare(mypy_version, '>=0.902'): - print('mypy >=0.902 is required, older versions report spurious errors') + if not version_compare(mypy_version, '>=0.812'): + print('mypy >=0.812 is required, older versions report spurious errors') sys.exit(1) def main() -> int: -- cgit v1.1