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:
Akuli
2021-05-05 00:09:33 +03:00
committed by GitHub
parent 54699d6cca
commit 9f732a128a
4 changed files with 6 additions and 10 deletions

View File

@@ -1,5 +1,4 @@
from collections import MutableMapping
from typing import Any, NoReturn, TypeVar
from typing import Any, MutableMapping, NoReturn, TypeVar
_KT = TypeVar("_KT")
_VT = TypeVar("_VT")