Fixing flake8 E401, E402 errors

This commit is contained in:
Lukasz Langa
2016-12-20 00:41:22 -08:00
parent 147772950f
commit 6eb97964fd
25 changed files with 79 additions and 81 deletions

View File

@@ -9,6 +9,10 @@ from typing import (
Union, overload
)
# ModuleType is exported from this module, but for circular import
# reasons exists in its own stub file (with ModuleSpec and Loader).
from _importlib_modulespec import ModuleType as ModuleType # Exported
_T = TypeVar('_T')
_KT = TypeVar('_KT')
_VT = TypeVar('_VT')
@@ -107,10 +111,6 @@ class BuiltinFunctionType:
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
BuiltinMethodType = BuiltinFunctionType
# ModuleType is exported from this module, but for circular import
# reasons exists in its own stub file (with ModuleSpec and Loader).
from _importlib_modulespec import ModuleType as ModuleType # Exported
class TracebackType:
tb_frame = ... # type: FrameType
tb_lasti = ... # type: int