drop ellipsis assignments from module vars, classvars and instance attrs (#5914)

Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
This commit is contained in:
Oleg Höfling
2021-08-11 19:26:58 +02:00
committed by GitHub
parent 6c41e3cead
commit 64f481189f
34 changed files with 325 additions and 325 deletions

View File

@@ -54,15 +54,15 @@ class _AuthObject(Protocol):
def __call__(self, challenge: bytes) -> str: ...
class SMTP:
debuglevel: int = ...
sock: socket | None = ...
debuglevel: int
sock: socket | None
# Type of file should match what socket.makefile() returns
file: Any | None = ...
helo_resp: bytes | None = ...
ehlo_msg: str = ...
ehlo_resp: bytes | None = ...
does_esmtp: bool = ...
default_port: int = ...
file: Any | None
helo_resp: bytes | None
ehlo_msg: str
ehlo_resp: bytes | None
does_esmtp: bool
default_port: int
timeout: float
esmtp_features: dict[str, str]
command_encoding: str
@@ -130,7 +130,7 @@ class SMTP:
def quit(self) -> _Reply: ...
class SMTP_SSL(SMTP):
default_port: int = ...
default_port: int
keyfile: str | None
certfile: str | None
context: SSLContext