Add a few # noqas to unblock PyCQA/flake8-pyi#213 (#7658)

This commit is contained in:
Alex Waygood
2022-04-18 16:57:48 +01:00
committed by GitHub
parent 073f9f416d
commit 54af68c789
4 changed files with 10 additions and 4 deletions

View File

@@ -15,7 +15,9 @@ from collections.abc import (
)
from importlib.abc import _LoaderProtocol
from importlib.machinery import ModuleSpec
from typing import Any, ClassVar, Generic, Mapping, TypeVar, overload
# pytype crashes if types.MappingProxyType inherits from collections.abc.Mapping instead of typing.Mapping
from typing import Any, ClassVar, Generic, Mapping, TypeVar, overload # noqa: Y027
from typing_extensions import Literal, ParamSpec, final
if sys.version_info >= (3, 10):