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

@@ -8,9 +8,10 @@ ModuleInfo = NamedTuple('ModuleInfo', [('name', str),
('mode', str),
('module_type', int),
])
def getmembers(object: object,
predicate: Callable[[Any], bool] = ...
) -> List[Tuple[str, Any]]: ...
def getmembers(
object: object,
predicate: Callable[[Any], bool] = ...
) -> List[Tuple[str, Any]]: ...
def getmoduleinfo(path: str) -> Optional[ModuleInfo]: ...
def getmodulename(path: str) -> Optional[str]: ...
@@ -65,12 +66,16 @@ def getmro(cls: type) -> Tuple[type, ...]: ...
# The interpreter stack
Traceback = NamedTuple('Traceback', [('filename', str),
('lineno', int),
('function', str),
('code_context', List[str]),
('index', int),
])
Traceback = NamedTuple(
'Traceback',
[
('filename', str),
('lineno', int),
('function', str),
('code_context', List[str]),
('index', int),
]
)
_FrameRecord = Tuple[FrameType, str, int, str, List[str], int]