Bump flake8-pyi and pytype test dependencies (#8656)

This commit is contained in:
Alex Waygood
2022-08-31 12:20:11 +01:00
committed by GitHub
parent 601700d1a5
commit 3e5808a990
4 changed files with 5 additions and 7 deletions

View File

@@ -1,14 +1,11 @@
import sys
from _ctypes import RTLD_GLOBAL as RTLD_GLOBAL, RTLD_LOCAL as RTLD_LOCAL
from _typeshed import ReadableBuffer, Self, WriteableBuffer
from abc import abstractmethod
from collections.abc import Callable, Iterable, Iterator, Mapping, Sequence
from typing import Any, ClassVar, Generic, TypeVar, Union as _UnionT, overload
from typing_extensions import TypeAlias
# TODO: import these from _ctypes once it no longer breaks pytype
RTLD_GLOBAL: int
RTLD_LOCAL: int
if sys.version_info >= (3, 9):
from types import GenericAlias