Fixing flake8 E202, E203, E225 errors

This commit is contained in:
Lukasz Langa
2016-12-20 01:02:59 -08:00
parent 6eb97964fd
commit d70bb0c00f
11 changed files with 54 additions and 57 deletions

View File

@@ -1,7 +1,7 @@
from typing import List, Union, Iterator, Tuple, Optional, Any, IO, NamedTuple
from opcode import (hasconst, hasname, hasjrel, hasjabs, haslocal, hascompare,
hasfree, hasnargs, cmp_op, opname , opmap , HAVE_ARGUMENT,
hasfree, hasnargs, cmp_op, opname, opmap, HAVE_ARGUMENT,
EXTENDED_ARG, stack_effect)
import types

View File

@@ -24,7 +24,7 @@ def find(domain: str, localedir: str = ..., languages: List[str] = ...,
def translation(domain: str, localedir: str = ..., languages: List[str] = ...,
class_: Callable[[IO[str]], NullTranslations] = ...,
fallback: bool =... , codeset: Any = ...) -> NullTranslations: ...
fallback: bool =..., codeset: Any = ...) -> NullTranslations: ...
def install(domain: str, localedir: str = ..., codeset: Any = ...,
names: List[str] = ...): ...

View File

@@ -67,7 +67,7 @@ version = ... # type: str
def adapt(obj, protocol, alternate): ...
def complete_statement(sql: str) -> bool: ...
def connect(database: Union[bytes, AnyStr],
timeout: float = ... ,
timeout: float = ...,
detect_types: int = ...,
isolation_level: Union[str, None] = ...,
check_same_thread: bool = ...,