Revert "target python 3.10 as the mypy language version"

This reverts commit 0b7d935a84.

The issue is fixed in mypy 1.0.0 now.
pull/11486/head
Eli Schwartz 2 years ago
parent 6c3b0973c4
commit 3946f1eb17
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      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

Loading…
Cancel
Save