Upgrade black version (#7089)

This commit is contained in:
Shantanu
2022-01-30 16:27:06 -08:00
committed by GitHub
parent 9854926289
commit b88a6f19cd
173 changed files with 496 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ class IMAP4:
else:
def __init__(self, host: str = ..., port: int = ...) -> None: ...
def open(self, host: str = ..., port: int = ...) -> None: ...
def __getattr__(self, attr: str) -> Any: ...
host: str
port: int
@@ -96,6 +97,7 @@ class IMAP4:
def unsubscribe(self, mailbox: str) -> _CommandResults: ...
if sys.version_info >= (3, 9):
def unselect(self) -> _CommandResults: ...
def xatom(self, name: str, *args: str) -> _CommandResults: ...
def print_log(self) -> None: ...
@@ -130,6 +132,7 @@ class IMAP4_SSL(IMAP4):
def open(self, host: str = ..., port: int | None = ..., timeout: float | None = ...) -> None: ...
else:
def open(self, host: str = ..., port: int | None = ...) -> None: ...
def read(self, size: int) -> bytes: ...
def readline(self) -> bytes: ...
def send(self, data: bytes) -> None: ...
@@ -151,6 +154,7 @@ class IMAP4_stream(IMAP4):
def open(self, host: str | None = ..., port: int | None = ..., timeout: float | None = ...) -> None: ...
else:
def open(self, host: str | None = ..., port: int | None = ...) -> None: ...
def read(self, size: int) -> bytes: ...
def readline(self) -> bytes: ...
def send(self, data: bytes) -> None: ...