apply black and isort (#4287)

* apply black and isort

* move some type ignores
This commit is contained in:
Jelle Zijlstra
2020-06-28 13:31:00 -07:00
committed by GitHub
parent fe58699ca5
commit 5d553c9584
800 changed files with 13875 additions and 10332 deletions

View File

@@ -1,10 +1,7 @@
"""Stubs for the 'sys' module."""
from typing import (
IO, NoReturn, Union, List, Sequence, Any, Dict, Tuple, BinaryIO, Optional,
Callable, overload, Text, Type,
)
from types import FrameType, ModuleType, TracebackType, ClassType
from types import ClassType, FrameType, ModuleType, TracebackType
from typing import IO, Any, BinaryIO, Callable, Dict, List, NoReturn, Optional, Sequence, Text, Tuple, Type, Union, overload
# The following type alias are stub-only and do not exist during runtime
_ExcInfo = Tuple[Type[BaseException], BaseException, TracebackType]
@@ -107,7 +104,6 @@ class _WindowsVersionType:
product_type: Any
def getwindowsversion() -> _WindowsVersionType: ...
def _clear_type_cache() -> None: ...
def _current_frames() -> Dict[int, FrameType]: ...
def _getframe(depth: int = ...) -> FrameType: ...