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.
pull/8878/head
Dylan Baker 4 years ago
parent 0c7cdb1862
commit 2eabcae9b5
  1. 4
      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:

Loading…
Cancel
Save