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

@@ -84,8 +84,7 @@ EXOPL: bytes
NOOPT: bytes
class Telnet:
def __init__(self, host: Optional[str] = ..., port: int = ...,
timeout: int = ...) -> None: ...
def __init__(self, host: Optional[str] = ..., port: int = ..., timeout: int = ...) -> None: ...
def open(self, host: str, port: int = ..., timeout: int = ...) -> None: ...
def msg(self, msg: str, *args: Any) -> None: ...
def set_debuglevel(self, debuglevel: int) -> None: ...
@@ -109,7 +108,9 @@ class Telnet:
def interact(self) -> None: ...
def mt_interact(self) -> None: ...
def listener(self) -> None: ...
def expect(self, list: Sequence[Union[Pattern[bytes], bytes]], timeout: Optional[int] = ...) -> Tuple[int, Optional[Match[bytes]], bytes]: ...
def expect(
self, list: Sequence[Union[Pattern[bytes], bytes]], timeout: Optional[int] = ...
) -> Tuple[int, Optional[Match[bytes]], bytes]: ...
if sys.version_info >= (3, 6):
def __enter__(self) -> Telnet: ...
def __exit__(self, type: Any, value: Any, traceback: Any) -> None: ...