Skip to content

Big spring cleaning #656

Big spring cleaning

Big spring cleaning #656

Triggered via pull request February 23, 2024 22:58
@tmke8tmke8
synchronize #326
spring-cleanup
Status Failure
Total duration 1m 28s
Artifacts

ci.yml

on: pull_request
format_with_ruff
8s
format_with_ruff
lint_with_ruff
5s
lint_with_ruff
run_type_checking
1m 5s
run_type_checking
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
run_type_checking: src/data/nih.py#L100
Argument of type "Unknown | NDArray[float64] | csr_matrix" cannot be assigned to parameter "data" of type "ListLikeU | DataFrame | dict[Any, Any] | Iterable[ListLikeU | tuple[Hashable, ListLikeU] | dict[Any, Any]] | None" in function "__new__" (reportArgumentType)
run_type_checking: src/labelling/encoder.py#L42
Argument of type "str | None" cannot be assigned to parameter "download_root" of type "str" in function "load"   Type "str | None" cannot be assigned to type "str"     "None" is incompatible with "str" (reportArgumentType)
run_type_checking: src/labelling/kmeans.py#L128
Argument of type "Any | NDArray[float64]" cannot be assigned to parameter "init" of type "str" in function "__init__"   Type "Any | NDArray[float64]" cannot be assigned to type "str"     "NDArray[float64]" is incompatible with "str" (reportArgumentType)
run_type_checking: src/labelling/kmeans.py#L128
Argument of type "Literal[1]" cannot be assigned to parameter "n_init" of type "str" in function "__init__"   "Literal[1]" is incompatible with "str" (reportArgumentType)
run_type_checking: src/labelling/kmeans.py#L131
Argument of type "int" cannot be assigned to parameter "n_init" of type "str" in function "__init__"   "int" is incompatible with "str" (reportArgumentType)
run_type_checking: src/labelling/kmeans.py#L134
Argument of type "tuple[NDArray[int32], Unknown] | NDArray[int32]" cannot be assigned to parameter "y_pred" of type "NDArray[int32]" in function "evaluate"   Type "tuple[NDArray[int32], Unknown] | NDArray[int32]" cannot be assigned to type "NDArray[int32]"     "tuple[NDArray[int32], Unknown]" is incompatible with "NDArray[int32]" (reportArgumentType)
run_type_checking: src/labelling/kmeans.py#L144
Expression of type "tuple[NDArray[int32], Unknown] | NDArray[int32]" cannot be assigned to return type "NDArray[Unknown]"   Type "tuple[NDArray[int32], Unknown] | NDArray[int32]" cannot be assigned to type "NDArray[Unknown]"     "tuple[NDArray[int32], Unknown]" is incompatible with "NDArray[Unknown]" (reportReturnType)
run_type_checking
7 errors
lint_with_ruff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
format_with_ruff
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
run_type_checking
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.