Enable flake8 annotations #6094
Annotations
10 errors and 1 warning
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:67 - 113:70): Argument 1 to "run_process" has incompatible type "*Tuple[object, ...]"; expected "Union[Union[str, bytes, PathLike[str], PathLike[bytes]], Sequence[Union[str, bytes, PathLike[str], PathLike[bytes]]]]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Union[Union[str, bytes, PathLike[str], PathLike[bytes]], Sequence[Union[str, bytes, PathLike[str], PathLike[bytes]]]]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "TaskStatus[Process]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Union[bytes, bytearray, memoryview, int, HasFileno, None]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "bool" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Optional[Callable[[Process], Awaitable[object]]]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Union[int, HasFileno, None]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Optional[Union[str, bytes, PathLike[str], PathLike[bytes]]]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Optional[Mapping[str, str]]" [arg-type]
|
Run tests:
src/trio/_tests/test_subprocess.py#L113
src/trio/_tests/test_subprocess.py:(113:75 - 113:80): Argument 2 to "run_process" has incompatible type "**Dict[str, object]"; expected "Optional[STARTUPINFO]" [arg-type]
|
The following actions use a deprecated Node.js version and will be forced to run on node20: codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading