adding code #25
GitHub Actions / JUnit Test Report
failed
Apr 8, 2024 in 0s
1 tests run, 0 passed, 0 skipped, 1 failed.
Annotations
Check failure on line 1 in .venv/lib/python3.11/site-packages/mypy/xml/mypy.xsd
github-actions / JUnit Test Report
mypy.mypy-py3_11-linux
mypy produced messages
Raw output
imr/imr-cli.py:6: error: Module "imr" has no attribute "IMRLocal" [attr-defined]
imr/imr-cli.py:6: error: Module "imr" has no attribute "IMRRemote" [attr-defined]
imr/imr-cli.py:42: error: "Group" has no attribute "rm" [attr-defined]
imr/imr.py:42: error: Argument 1 to "mkdir" of "Path" has incompatible type "str"; expected "Path" [arg-type]
imr/imr.py:43: error: No overload variant of "open" of "Path" matches argument types "str", "str" [call-overload]
imr/imr.py:43: note: Possible overload variants:
imr/imr.py:43: note: def open(self: Path, mode: Literal['r+', '+r', 'rt+', 'r+t', '+rt', 'tr+', 't+r', '+tr', 'w+', '+w', 'wt+', 'w+t', '+wt', 'tw+', 't+w', '+tw', 'a+', '+a', 'at+', 'a+t', '+at', 'ta+', 't+a', '+ta', 'x+', '+x', 'xt+', 'x+t', '+xt', 'tx+', 't+x', '+tx'] | Literal['w', 'wt', 'tw', 'a', 'at', 'ta', 'x', 'xt', 'tx'] | Literal['r', 'rt', 'tr', 'U', 'rU', 'Ur', 'rtU', 'rUt', 'Urt', 'trU', 'tUr', 'Utr'] = ..., buffering: int = ..., encoding: str | None = ..., errors: str | None = ..., newline: str | None = ...) -> TextIOWrapper
imr/imr.py:43: note: def open(self: Path, mode: Literal['rb+', 'r+b', '+rb', 'br+', 'b+r', '+br', 'wb+', 'w+b', '+wb', 'bw+', 'b+w', '+bw', 'ab+', 'a+b', '+ab', 'ba+', 'b+a', '+ba', 'xb+', 'x+b', '+xb', 'bx+', 'b+x', '+bx'] | Literal['rb', 'br', 'rbU', 'rUb', 'Urb', 'brU', 'bUr', 'Ubr'] | Literal['wb', 'bw', 'ab', 'ba', 'xb', 'bx'], buffering: Literal[0], encoding: None = ..., errors: None = ..., newline: None = ...) -> FileIO
imr/imr.py:43: note: def open(self: Path, mode: Literal['rb+', 'r+b', '+rb', 'br+', 'b+r', '+br', 'wb+', 'w+b', '+wb', 'bw+', 'b+w', '+bw', 'ab+', 'a+b', '+ab', 'ba+', 'b+a', '+ba', 'xb+', 'x+b', '+xb', 'bx+', 'b+x', '+bx'], buffering: Literal[-1, 1] = ..., encoding: None = ..., errors: None = ..., newline: None = ...) -> BufferedRandom
imr/imr.py:43: note: def open(self: Path, mode: Literal['wb', 'bw', 'ab', 'ba', 'xb', 'bx'], buffering: Literal[-1, 1] = ..., encoding: None = ..., errors: None = ..., newline: None = ...) -> BufferedWriter
imr/imr.py:43: note: def open(self: Path, mode: Literal['rb', 'br', 'rbU', 'rUb', 'Urb', 'brU', 'bUr', 'Ubr'], buffering: Literal[-1, 1] = ..., encoding: None = ..., errors: None = ..., newline: None = ...) -> BufferedReader
imr/imr.py:43: note: def open(self: Path, mode: Literal['rb+', 'r+b', '+rb', 'br+', 'b+r', '+br', 'wb+', 'w+b', '+wb', 'bw+', 'b+w', '+bw', 'ab+', 'a+b', '+ab', 'ba+', 'b+a', '+ba', 'xb+', 'x+b', '+xb', 'bx+', 'b+x', '+bx'] | Literal['rb', 'br', 'rbU', 'rUb', 'Urb', 'brU', 'bUr', 'Ubr'] | Literal['wb', 'bw', 'ab', 'ba', 'xb', 'bx'], buffering: int = ..., encoding: None = ..., errors: None = ..., newline: None = ...) -> BinaryIO
imr/imr.py:43: note: def open(self: Path, mode: str, buffering: int = ..., encoding: str | None = ..., errors: str | None = ..., newline: str | None = ...) -> IO[Any]
imr/imr.py:64: error: Argument 1 to "mkdir" of "Path" has incompatible type "str"; expected "Path" [arg-type]
Loading