mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-27 12:02:19 +08:00
Fixing flake8 E121, E122, E123, E124, E125, E126 errors
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user