Skip to content

Fix ci.yml

Fix ci.yml #140

Triggered via push July 29, 2024 14:39
Status Failure
Total duration 6m 16s
Artifacts

ci.yml

on: push
Matrix: test
Matrix: test_py36_py37
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 14 warnings
lint
Process completed with exit code 1.
test_py36_py37 (3.7)
Process completed with exit code 1.
test_py36_py37 (3.6)
Process completed with exit code 1.
Error code: `import-untyped`: bdpy/util/info.py#L13
Library stubs not installed for "yaml"
Error code: `arg-type`: bdpy/util/info.py#L24
Argument 1 to "md5" has incompatible type "str"; expected "Buffer"
Error code: `import-untyped`: bdpy/fig/tile_images.py#L5
Skipping analyzing "matplotlib.pyplot": module is installed, but missing library stubs or py.typed marker
Error code: `import-untyped`: bdpy/fig/tile_images.py#L5
Skipping analyzing "matplotlib": module is installed, but missing library stubs or py.typed marker
Error code: `import-untyped`: bdpy/fig/tile_images.py#L6
Skipping analyzing "matplotlib.gridspec": module is installed, but missing library stubs or py.typed marker
Error code: `list-item`: tests/task/test_callback.py#L29
List item 2 has incompatible type "Tuple[Callable[[int, int], int], Tuple[int, int], int]"; expected "Tuple[Callable[..., Any], Tuple[Any], Any]"
Error code: `var-annotated`: bdpy/util/utils.py#L48
Need type annotation for "group_vector" (hint: "group_vector: List[<type>] = ...")
Error code: `assignment`: bdpy/util/utils.py#L64
Incompatible types in assignment (expression has type "ndarray[Any, dtype[Any]]", variable has type "List[Any]")
Error code: `union-attr`: bdpy/util/utils.py#L118
Item "List[Any]" of "Union[List[Any], ndarray[Any, Any]]" has no attribute "ndim"
Error code: `call-overload`: bdpy/util/utils.py#L119
No overload variant of "__getitem__" of "list" matches argument type "List[Any]"
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_py36_py37 (3.7)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test_py36_py37 (3.6)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
type-check
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
type-check: bdpy/util/utils.py#L119
Possible overload variants:
type-check: bdpy/util/utils.py#L121
Possible overload variants:
type-check: bdpy/dataset/utils.py#L11
Hint: "python3 -m pip install types-tqdm"
type-check: bdpy/dataset/utils.py#L11
(or run "mypy --install-types" to install all missing stub packages)
type-check: bdpy/dataset/utils.py#L11
See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Error code: `annotation-unchecked`: bdpy/dataform/features.py#L382
By default the bodies of untyped functions are not checked, consider using --check-untyped-defs
test (3.9)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (3.10)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (3.11)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test (3.8)
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/