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

@@ -1,15 +1,14 @@
# Stubs for mmap
from typing import (Optional, Sequence, Union, Generic, TypeVar, overload,
Iterable, Container, Sized, Reversible)
import sys
from types import TracebackType
from typing import (Optional, Sequence, Union, Generic, TypeVar, overload,
Iterable, Container, Sized, Reversible, Type)
_T = TypeVar('_T', str, bytes)
# TODO already in PEP, have to get added to mypy
from typing import Type
from types import TracebackType
_C = TypeVar('_C')
class _ContextManager(Generic[_C]):
def __enter__(self) -> _C: ...