Fixing flake8 E231 errors

This commit is contained in:
Lukasz Langa
2016-12-19 22:22:14 -08:00
parent 93ec300dd4
commit 67e38b6806
26 changed files with 181 additions and 181 deletions

View File

@@ -28,7 +28,7 @@ class HTTPResponse:
chunk_left = ... # type: Any
length = ... # type: Any
will_close = ... # type: Any
def __init__(self, sock, debuglevel=0, strict=0, method=None, buffering:bool=...) -> None: ...
def __init__(self, sock, debuglevel=0, strict=0, method=None, buffering: bool=...) -> None: ...
def begin(self): ...
def close(self): ...
def isclosed(self): ...
@@ -56,16 +56,16 @@ class HTTPConnection:
def putheader(self, header, *values): ...
def endheaders(self, message_body=None): ...
def request(self, method, url, body=None, headers=...): ...
def getresponse(self, buffering:bool=...): ...
def getresponse(self, buffering: bool=...): ...
class HTTP:
debuglevel = ... # type: Any
def __init__(self, host:str=..., port=None, strict=None) -> None: ...
def __init__(self, host: str=..., port=None, strict=None) -> None: ...
def connect(self, host=None, port=None): ...
def getfile(self): ...
file = ... # type: Any
headers = ... # type: Any
def getreply(self, buffering:bool=...): ...
def getreply(self, buffering: bool=...): ...
def close(self): ...
class HTTPSConnection(HTTPConnection):
@@ -79,7 +79,7 @@ class HTTPSConnection(HTTPConnection):
class HTTPS(HTTP):
key_file = ... # type: Any
cert_file = ... # type: Any
def __init__(self, host:str=..., port=None, key_file=None, cert_file=None, strict=None, context=None) -> None: ...
def __init__(self, host: str=..., port=None, key_file=None, cert_file=None, strict=None, context=None) -> None: ...
class HTTPException(Exception): ...
class NotConnected(HTTPException): ...