Fixing flake8 E121, E122, E123, E124, E125, E126 errors

This commit is contained in:
Lukasz Langa
2016-12-19 23:47:57 -08:00
parent 67e38b6806
commit 6b5c6626d6
33 changed files with 354 additions and 286 deletions

View File

@@ -125,17 +125,19 @@ else:
class HTTPConnection:
if sys.version_info >= (3, 4):
def __init__(self,
host: str, port: Optional[int] = ...,
timeout: int = ...,
source_address: Optional[Tuple[str, int]] = ...) \
-> None: ...
def __init__(
self,
host: str, port: Optional[int] = ...,
timeout: int = ...,
source_address: Optional[Tuple[str, int]] = ...
) -> None: ...
else:
def __init__(self,
host: str, port: Optional[int] = ...,
strict: bool = ..., timeout: int = ...,
source_address: Optional[Tuple[str, int]] = ...) \
-> None: ...
def __init__(
self,
host: str, port: Optional[int] = ...,
strict: bool = ..., timeout: int = ...,
source_address: Optional[Tuple[str, int]] = ...
)-> None: ...
def request(self, method: str, url: str,
body: Optional[_DataType] = ...,
headers: Mapping[str, str] = ...) -> None: ...