Fixing flake8 E261 errors

This commit is contained in:
Lukasz Langa
2016-12-19 22:09:35 -08:00
parent b84f20a011
commit fe0e3744cc
219 changed files with 4041 additions and 3099 deletions

View File

@@ -8,21 +8,21 @@ class SMTPException(Exception): ...
class SMTPServerDisconnected(SMTPException): ...
class SMTPResponseException(SMTPException):
smtp_code = ... # type: Any
smtp_error = ... # type: Any
args = ... # type: Any
smtp_code = ... # type: Any
smtp_error = ... # type: Any
args = ... # type: Any
def __init__(self, code, msg) -> None: ...
class SMTPSenderRefused(SMTPResponseException):
smtp_code = ... # type: Any
smtp_error = ... # type: Any
sender = ... # type: Any
args = ... # type: Any
smtp_code = ... # type: Any
smtp_error = ... # type: Any
sender = ... # type: Any
args = ... # type: Any
def __init__(self, code, msg, sender) -> None: ...
class SMTPRecipientsRefused(SMTPException):
recipients = ... # type: Any
args = ... # type: Any
recipients = ... # type: Any
args = ... # type: Any
def __init__(self, recipients) -> None: ...
class SMTPDataError(SMTPResponseException): ...
@@ -34,25 +34,25 @@ def quoteaddr(addr): ...
def quotedata(data): ...
class SSLFakeFile:
sslobj = ... # type: Any
sslobj = ... # type: Any
def __init__(self, sslobj) -> None: ...
def readline(self, size=...): ...
def close(self): ...
class SMTP:
debuglevel = ... # type: Any
file = ... # type: Any
helo_resp = ... # type: Any
ehlo_msg = ... # type: Any
ehlo_resp = ... # type: Any
does_esmtp = ... # type: Any
default_port = ... # type: Any
timeout = ... # type: Any
esmtp_features = ... # type: Any
local_hostname = ... # type: Any
debuglevel = ... # type: Any
file = ... # type: Any
helo_resp = ... # type: Any
ehlo_msg = ... # type: Any
ehlo_resp = ... # type: Any
does_esmtp = ... # type: Any
default_port = ... # type: Any
timeout = ... # type: Any
esmtp_features = ... # type: Any
local_hostname = ... # type: Any
def __init__(self, host: str = ..., port: int = ..., local_hostname=..., timeout=...) -> None: ...
def set_debuglevel(self, debuglevel): ...
sock = ... # type: Any
sock = ... # type: Any
def connect(self, host=..., port=...): ...
def send(self, str): ...
def putcmd(self, cmd, args=...): ...
@@ -68,7 +68,7 @@ class SMTP:
def rcpt(self, recip, options=...): ...
def data(self, msg): ...
def verify(self, address): ...
vrfy = ... # type: Any
vrfy = ... # type: Any
def expn(self, address): ...
def ehlo_or_helo_if_needed(self): ...
def login(self, user, password): ...
@@ -78,13 +78,13 @@ class SMTP:
def quit(self): ...
class SMTP_SSL(SMTP):
default_port = ... # type: Any
keyfile = ... # type: Any
certfile = ... # type: Any
default_port = ... # type: Any
keyfile = ... # type: Any
certfile = ... # type: Any
def __init__(self, host=..., port=..., local_hostname=..., keyfile=..., certfile=..., timeout=...) -> None: ...
class LMTP(SMTP):
ehlo_msg = ... # type: Any
ehlo_msg = ... # type: Any
def __init__(self, host=..., port=..., local_hostname=...) -> None: ...
sock = ... # type: Any
sock = ... # type: Any
def connect(self, host=..., port=...): ...