aboutsummaryrefslogtreecommitdiff
path: root/run_mypy.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2023-03-02 15:51:27 -0500
committerEli Schwartz <eschwartz@archlinux.org>2023-03-02 15:51:27 -0500
commit3946f1eb177c1633dc5637b7d8ef7240a470691d (patch)
tree37d8d0b54a630564935ecab950651b597180696d /run_mypy.py
parent6c3b0973c4c1b9444df65c4a33bdcca5e7c3eab0 (diff)
downloadmeson-3946f1eb177c1633dc5637b7d8ef7240a470691d.zip
meson-3946f1eb177c1633dc5637b7d8ef7240a470691d.tar.gz
meson-3946f1eb177c1633dc5637b7d8ef7240a470691d.tar.bz2
Revert "target python 3.10 as the mypy language version"
This reverts commit 0b7d935a846b8f2aa33b4e0d19fd7b4423d35df4. The issue is fixed in mypy 1.0.0 now.
Diffstat (limited to 'run_mypy.py')
-rwxr-xr-xrun_mypy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_mypy.py b/run_mypy.py
index 2db0fcc..9ad43b8 100755
--- a/run_mypy.py
+++ b/run_mypy.py
@@ -124,7 +124,7 @@ def main() -> int:
if not opts.quiet:
print('Running mypy (this can take some time) ...')
p = subprocess.run(
- [sys.executable, '-m', 'mypy', '--python-version', '3.10'] + args + to_check,
+ [sys.executable, '-m', 'mypy'] + args + to_check,
cwd=root,
)
return p.returncode