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

@@ -3,12 +3,13 @@
# based on http: //docs.python.org/3.2/library/os.html
from builtins import OSError as error
from io import TextIOWrapper as _TextIOWrapper
import sys
from typing import (
Mapping, MutableMapping, Dict, List, Any, Tuple, Iterator, overload, Union, AnyStr,
Optional, Generic, Set, Callable
)
import sys
from builtins import OSError as error
from . import path
# ----- os variables -----
@@ -323,7 +324,6 @@ def killpg(pgid: int, sig: int) -> None: ... # Unix only
def nice(increment: int) -> int: ... # Unix only
def plock(op: int) -> None: ... # Unix only ???op is int?
from io import TextIOWrapper as _TextIOWrapper
class popen(_TextIOWrapper):
# TODO 'b' modes or bytes command not accepted?
def __init__(self, command: str, mode: str = ...,