mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Fixing flake8 E261 errors
This commit is contained in:
@@ -52,20 +52,20 @@ def check_output(args: Union[str, Sequence[str]],
|
||||
startupinfo: Any = ...,
|
||||
creationflags: int = ...) -> str: ...
|
||||
|
||||
PIPE = ... # type: int
|
||||
STDOUT = ... # type: int
|
||||
PIPE = ... # type: int
|
||||
STDOUT = ... # type: int
|
||||
|
||||
class CalledProcessError(Exception):
|
||||
returncode = 0
|
||||
cmd = ... # type: str
|
||||
output = ... # type: str # May be None
|
||||
output = ... # type: str # May be None
|
||||
|
||||
def __init__(self, returncode: int, cmd: str, output: Optional[str] = ...) -> None: ...
|
||||
|
||||
class Popen:
|
||||
stdin = ... # type: Optional[IO[Any]]
|
||||
stdout = ... # type: Optional[IO[Any]]
|
||||
stderr = ... # type: Optional[IO[Any]]
|
||||
stdin = ... # type: Optional[IO[Any]]
|
||||
stdout = ... # type: Optional[IO[Any]]
|
||||
stderr = ... # type: Optional[IO[Any]]
|
||||
pid = 0
|
||||
returncode = 0
|
||||
|
||||
@@ -99,11 +99,11 @@ def getoutput(cmd: str) -> str: ...
|
||||
|
||||
# Windows-only: STARTUPINFO etc.
|
||||
|
||||
STD_INPUT_HANDLE = ... # type: Any
|
||||
STD_OUTPUT_HANDLE = ... # type: Any
|
||||
STD_ERROR_HANDLE = ... # type: Any
|
||||
SW_HIDE = ... # type: Any
|
||||
STARTF_USESTDHANDLES = ... # type: Any
|
||||
STARTF_USESHOWWINDOW = ... # type: Any
|
||||
CREATE_NEW_CONSOLE = ... # type: Any
|
||||
CREATE_NEW_PROCESS_GROUP = ... # type: Any
|
||||
STD_INPUT_HANDLE = ... # type: Any
|
||||
STD_OUTPUT_HANDLE = ... # type: Any
|
||||
STD_ERROR_HANDLE = ... # type: Any
|
||||
SW_HIDE = ... # type: Any
|
||||
STARTF_USESTDHANDLES = ... # type: Any
|
||||
STARTF_USESHOWWINDOW = ... # type: Any
|
||||
CREATE_NEW_CONSOLE = ... # type: Any
|
||||
CREATE_NEW_PROCESS_GROUP = ... # type: Any
|
||||
|
||||
Reference in New Issue
Block a user