Skip to content

[fix] add Loader=yaml.SafeLoader in yaml.load() #126

[fix] add Loader=yaml.SafeLoader in yaml.load()

[fix] add Loader=yaml.SafeLoader in yaml.load() #126

Triggered via push May 26, 2024 12:51
Status Failure
Total duration 3m 4s
Artifacts

ci.yml

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

Annotations

14 errors and 21 warnings
lint
Process completed with exit code 1.
test (3.6)
The version '3.6' with architecture 'x64' was not found for Ubuntu 22.04. The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
test (3.12)
Process completed with exit code 1.
test (3.7)
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: `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]"
Error code: `call-overload`: bdpy/util/utils.py#L121
No overload variant of "__getitem__" of "list" matches argument type "Tuple[List[Any], slice]"
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.6)
File "/home/runner/work/bdpy/bdpy/pytest-coverage.txt" doesn't exist
test (3.6)
File "/home/runner/work/bdpy/bdpy/pytest.yml" doesn't exist
test (3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.12)
File "/home/runner/work/bdpy/bdpy/pytest-coverage.txt" doesn't exist
test (3.12)
File "/home/runner/work/bdpy/bdpy/pytest.yml" doesn't exist
test (3.7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.7)
File "/home/runner/work/bdpy/bdpy/pytest-coverage.txt" doesn't exist
test (3.7)
File "/home/runner/work/bdpy/bdpy/pytest.yml" doesn't exist
test (3.8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (3.9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
type-check
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/.
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.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, MishaKav/pytest-coverage-comment@v1.1.47. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.