Skip to content

Docs/kaggle notebook soccertrack (#135) #65

Docs/kaggle notebook soccertrack (#135)

Docs/kaggle notebook soccertrack (#135) #65

Triggered via push December 10, 2023 03:45
Status Failure
Total duration 1m 39s
Artifacts

mypy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
mypy-check: docs/conf.py#L237
Need type annotation for "latex_elements" (hint: "latex_elements: Dict[<type>, <type>] = ...") [var-annotated]
mypy-check: sportslabkit/logger.py#L47
Item "str" of "str | dict[str, str]" has no attribute "get" [union-attr]
mypy-check: sportslabkit/logger.py#L48
Unsupported target for indexed assignment ("str | dict[str, str]") [index]
mypy-check: sportslabkit/logger.py#L48
Invalid index type "str" for "str | dict[str, str]"; expected type "SupportsIndex | slice" [index]
mypy-check: sportslabkit/utils/draw.py#L78
List comprehension has incompatible type List[Any | tuple[int, int, int] | int]; expected List[str | tuple[int, int, int]] [misc]
mypy-check: sportslabkit/utils/draw.py#L111
Unsupported operand types for + ("str" and "tuple[int]") [operator]
mypy-check: sportslabkit/utils/draw.py#L111
Left operand is of type "str | tuple[int, int, int]"
mypy-check: sportslabkit/utils/draw.py#L138
Argument 4 to "draw_bounding_boxes" has incompatible type "list[tuple[int, ...]]"; expected "list[str | tuple[int, int, int]] | str | tuple[int, int, int] | None" [arg-type]
mypy-check: sportslabkit/datasets/downloader.py#L49
Argument 1 to "Path" has incompatible type "str | Path | None"; expected "str | PathLike[str]" [arg-type]
mypy-check: sportslabkit/datasets/downloader.py#L70
Unsupported left operand type for + ("None") [operator]
mypy-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/