aboutsummaryrefslogtreecommitdiff
path: root/run_mypy.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-06-13 21:24:45 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-06-13 21:29:02 -0700
commit2eabcae9b589722cda7ea6c8bb75ebee61577db6 (patch)
tree91734f7b030b5154cdcbc31a16e14ad7669b5cf4 /run_mypy.py
parent0c7cdb18624283fe1655d28d0df0867d21838491 (diff)
downloadmeson-2eabcae9b589722cda7ea6c8bb75ebee61577db6.zip
meson-2eabcae9b589722cda7ea6c8bb75ebee61577db6.tar.gz
meson-2eabcae9b589722cda7ea6c8bb75ebee61577db6.tar.bz2
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.
Diffstat (limited to 'run_mypy.py')
-rwxr-xr-xrun_mypy.py4
1 files changed, 2 insertions, 2 deletions
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: