mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-05 19:13:24 +08:00
enable mypy_test for python 3.10 (#5341)
* enable mypy_test for python 3.10 * avoid collections.Mapping and collections.MutableMapping, import from typing
This commit is contained in:
@@ -172,7 +172,7 @@ def main():
|
||||
print("Cannot import mypy. Did you install it?")
|
||||
sys.exit(1)
|
||||
|
||||
versions = [(3, 9), (3, 8), (3, 7), (3, 6), (2, 7)]
|
||||
versions = [(3, 10), (3, 9), (3, 8), (3, 7), (3, 6), (2, 7)]
|
||||
if args.python_version:
|
||||
versions = [v for v in versions if any(("%d.%d" % v).startswith(av) for av in args.python_version)]
|
||||
if not versions:
|
||||
|
||||
Reference in New Issue
Block a user