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,13 +1,14 @@
import _compression
import sys
import zlib
from typing import IO, Optional, TextIO, Union, overload
import _compression
from _typeshed import AnyPath, ReadableBuffer
from typing_extensions import Literal
from _typeshed import AnyPath, ReadableBuffer
_OpenBinaryMode = Literal["r", "rb", "a", "ab", "w", "wb", "x", "xb"]
_OpenTextMode = Literal["rt", "at", "wt", "xt"]
@overload
def open(
filename: Union[AnyPath, IO[bytes]],