mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-17 23:34:13 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -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]],
|
||||
|
||||
Reference in New Issue
Block a user