Skip to content

Annotate core functions and remove sphinx style argument types #160

Annotate core functions and remove sphinx style argument types

Annotate core functions and remove sphinx style argument types #160

Triggered via pull request August 2, 2023 05:54
Status Failure
Total duration 5m 29s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

32 errors
Ruff (D107): src/wily/archivers/__init__.py#L32
src/wily/archivers/__init__.py:32:9: D107 Missing docstring in `__init__`
Ruff (D101): src/wily/archivers/__init__.py#L85
src/wily/archivers/__init__.py:85:7: D101 Missing docstring in public class
Ruff (D105): src/wily/archivers/__init__.py#L90
src/wily/archivers/__init__.py:90:9: D105 Missing docstring in magic method
Ruff (D101): src/wily/operators/__init__.py#L33
src/wily/operators/__init__.py:33:7: D101 Missing docstring in public class
Ruff (D107): src/wily/operators/__init__.py#L79
src/wily/operators/__init__.py:79:9: D107 Missing docstring in `__init__`
Ruff (D101): src/wily/operators/__init__.py#L106
src/wily/operators/__init__.py:106:7: D101 Missing docstring in public class
ruff
Process completed with exit code 1.
test (ubuntu-latest, 3.8, false)
Process completed with exit code 2.
test (ubuntu-latest, 3.11, false)
Process completed with exit code 2.
test (ubuntu-latest, 3.10, false)
Process completed with exit code 2.
pyright: src/wily/state.py#L113
Cannot assign member "data" for type "Index"   Type "Dict[Any, Any] | list[Any]" cannot be assigned to type "List[Any]"     "Dict[Any, Any]" is incompatible with "List[Any]" (reportGeneralTypeIssues)
pyright: src/wily/archivers/__init__.py#L95
Argument of type "type[GitArchiver]" cannot be assigned to parameter "cls" of type "BaseArchiver" in function "__init__"   "type[type]" is incompatible with "type[BaseArchiver]" (reportGeneralTypeIssues)
pyright: src/wily/archivers/__init__.py#L99
Argument of type "type[FilesystemArchiver]" cannot be assigned to parameter "cls" of type "BaseArchiver" in function "__init__"   "type[type]" is incompatible with "type[BaseArchiver]" (reportGeneralTypeIssues)
pyright: src/wily/archivers/filesystem.py#L51
Argument of type "int" cannot be assigned to parameter "date" of type "str" in function "__init__"   "int" is incompatible with "str" (reportGeneralTypeIssues)
pyright: src/wily/archivers/git.py#L140
Argument of type "str | None" cannot be assigned to parameter "author_name" of type "str" in function "__init__"   Type "str | None" cannot be assigned to type "str"     Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
pyright: src/wily/archivers/git.py#L141
Argument of type "str | None" cannot be assigned to parameter "author_email" of type "str" in function "__init__"   Type "str | None" cannot be assigned to type "str"     Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
pyright: src/wily/archivers/git.py#L142
Argument of type "int" cannot be assigned to parameter "date" of type "str" in function "__init__"   "int" is incompatible with "str" (reportGeneralTypeIssues)
pyright: src/wily/archivers/git.py#L143
Argument of type "str | bytes" cannot be assigned to parameter "message" of type "str" in function "__init__"   Type "str | bytes" cannot be assigned to type "str"     "bytes" is incompatible with "str" (reportGeneralTypeIssues)
pyright: src/wily/archivers/git.py#L198
Argument of type "str | None" cannot be assigned to parameter "author_name" of type "str" in function "__init__"   Type "str | None" cannot be assigned to type "str"     Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
pyright: src/wily/archivers/git.py#L199
Argument of type "str | None" cannot be assigned to parameter "author_email" of type "str" in function "__init__"   Type "str | None" cannot be assigned to type "str"     Type "None" cannot be assigned to type "str" (reportGeneralTypeIssues)
test (ubuntu-latest, 3.9, false)
Process completed with exit code 2.
test (macos-latest, 3.10, false)
Process completed with exit code 2.
test (macos-latest, 3.8, false)
Process completed with exit code 2.
test (macos-latest, 3.11, false)
Process completed with exit code 2.
test (macos-latest, 3.7, false)
Process completed with exit code 2.
test (macos-latest, 3.9, false)
Process completed with exit code 2.
test (ubuntu-latest, 3.7, false)
Process completed with exit code 2.
test (windows-latest, 3.9, false)
Process completed with exit code 1.
test (windows-latest, 3.8, false)
Process completed with exit code 1.
test (windows-latest, 3.7, false)
Process completed with exit code 1.
test (windows-latest, 3.10, false)
Process completed with exit code 1.
test (windows-latest, 3.11, false)
Process completed with exit code 1.