Add missing arguments to run_process #6878
Annotations
43 errors and 3 notices
Mypy-Linux+Mac:
src/trio/_subprocess.py#L1138
src/trio/_subprocess.py:(1138:9 - 1138:9): All bases of a new TypedDict must be TypedDict types [misc]
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L449
src/trio/_tests/test_subprocess.py:(449:20 - 454:5): No overload variant of "run_process" matches argument types "list[str]", "bytes", "bool", "int" [call-overload]
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L468
src/trio/_tests/test_subprocess.py:(468:15 - 468:31): Item "None" of "SendStream | None" has no attribute "aclose" [union-attr]
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L486
src/trio/_tests/test_subprocess.py:(486:23 - 486:41): Item "None" of "SendStream | None" has no attribute "send_all" [union-attr]
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L487
src/trio/_tests/test_subprocess.py:(487:23 - 487:39): Item "None" of "SendStream | None" has no attribute "aclose" [union-attr]
|
Ubuntu (3.13, check formatting)
Mypy found type errors.
|
Ubuntu (3.13, check formatting)
Process completed with exit code 1.
|
Windows (3.10, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.14, x86)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.14, x86)
The operation was canceled.
|
Windows (3.10, x86)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.10, x86)
The operation was canceled.
|
Windows (3.9, x86)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.9, x86)
The operation was canceled.
|
Windows (3.9, x64, with Komodia LSP)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.9, x64, with Komodia LSP)
The operation was canceled.
|
Windows (3.9, x64, with IFS LSP)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.9, x64, with IFS LSP)
The operation was canceled.
|
Windows (3.12, x86)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.12, x86)
The operation was canceled.
|
Windows (3.12, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.9, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.12, x64)
The operation was canceled.
|
Windows (3.9, x64)
The operation was canceled.
|
Windows (3.14, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.14, x64)
The operation was canceled.
|
Windows (3.13, x86)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.13, x86)
The operation was canceled.
|
Windows (3.11, x86)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.11, x86)
The operation was canceled.
|
Windows (3.11, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.11, x64)
The operation was canceled.
|
Windows (3.13, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (3.13, x64)
The operation was canceled.
|
Ubuntu (pypy-3.10)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Ubuntu (pypy-3.10)
The operation was canceled.
|
Windows (pypy-3.10, x64)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
Windows (pypy-3.10, x64)
The operation was canceled.
|
macOS (3.9)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
macOS (3.9)
The operation was canceled.
|
macOS (pypy-3.10)
Canceling since a higher priority waiting request for 'refs/pull/3212/merge-CI-pull_request' exists
|
macOS (pypy-3.10)
The operation was canceled.
|
check
Process completed with exit code 1.
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L449
src/trio/_tests/test_subprocess.py:(449:20 - 454:5): Possible overload variants:
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L449
src/trio/_tests/test_subprocess.py:(449:20 - 454:5): def run_process(command: str | bytes | PathLike[str] | PathLike[bytes], *, stdin: bytes | bytearray | memoryview[int] | int | HasFileno | None = ..., shell: Literal[True], task_status: TaskStatus[Process] = ..., capture_stdout: bool = ..., capture_stderr: bool = ..., check: bool = ..., deliver_cancel: Callable[[Process], Awaitable[None]] | None = ...) -> Coroutine[Any, Any, CompletedProcess[bytes]]
|
Mypy-Linux+Mac:
src/trio/_tests/test_subprocess.py#L449
src/trio/_tests/test_subprocess.py:(449:20 - 454:5): def run_process(command: Sequence[str | bytes | PathLike[str] | PathLike[bytes]], *, stdin: bytes | bytearray | memoryview[int] | int | HasFileno | None = ..., shell: bool = ..., task_status: TaskStatus[Process] = ..., capture_stdout: bool = ..., capture_stderr: bool = ..., check: bool = ..., deliver_cancel: Callable[[Process], Awaitable[None]] | None = ...) -> Coroutine[Any, Any, CompletedProcess[bytes]]
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
python-package-distributions
Expired
|
1.02 MB |
|