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

No files matched your search

+1 -2
View File
@@ -1,7 +1,6 @@
import string
import sys
from collections import Mapping
from typing import Any, Callable, Iterable, List, Optional, Sequence, Text, Tuple, Union
from typing import Any, Callable, Iterable, List, Mapping, Optional, Sequence, Text, Tuple, Union
from markupsafe._compat import text_type
from markupsafe._native import escape as escape, escape_silent as escape_silent, soft_unicode as soft_unicode