Skip to content

Add typing, some refactor, run and fix all doctests #161

Add typing, some refactor, run and fix all doctests

Add typing, some refactor, run and fix all doctests #161

Triggered via pull request February 4, 2024 17:05
Status Failure
Total duration 1m 24s
Artifacts

pythonpackage.yml

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

Annotations

21 errors and 6 warnings
build (3.9)
Process completed with exit code 1.
build (3.9)
Process completed with exit code 2.
build (3.12)
Process completed with exit code 17.
build (3.12)
Process completed with exit code 1.
build (3.10)
Process completed with exit code 1.
build (3.8)
Process completed with exit code 2.
build (3.8)
Process completed with exit code 2.
build (3.8)
Process completed with exit code 1.
build (3.11): functional/io.py#L58
[mypy] reported by reviewdog 🐶 Function is missing a type annotation [no-untyped-def] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:58:5: error: Function is missing a type annotation [no-untyped-def]
build (3.11): functional/io.py#L75
[mypy] reported by reviewdog 🐶 Function is missing a return type annotation [no-untyped-def] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:75:5: error: Function is missing a return type annotation [no-untyped-def]
build (3.11): functional/io.py#L115
[mypy] reported by reviewdog 🐶 Function is missing a type annotation [no-untyped-def] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:115:5: error: Function is missing a type annotation [no-untyped-def]
build (3.11): functional/io.py#L145
[mypy] reported by reviewdog 🐶 Function is missing a type annotation [no-untyped-def] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:145:5: error: Function is missing a type annotation [no-untyped-def]
build (3.11): functional/io.py#L148
[mypy] reported by reviewdog 🐶 Cannot assign to a method [method-assign] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:148:17: error: Cannot assign to a method [method-assign]
build (3.11): functional/io.py#L150
[mypy] reported by reviewdog 🐶 Argument 1 to "TextIOWrapper" has incompatible type "GzipFile"; expected "IO[bytes]" [arg-type] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:150:21: error: Argument 1 to "TextIOWrapper" has incompatible type "GzipFile"; expected "IO[bytes]" [arg-type]
build (3.11): functional/io.py#L162
[mypy] reported by reviewdog 🐶 Function is missing a return type annotation [no-untyped-def] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:162:5: error: Function is missing a return type annotation [no-untyped-def]
build (3.11): functional/io.py#L164
[mypy] reported by reviewdog 🐶 Cannot assign to a method [method-assign] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:164:13: error: Cannot assign to a method [method-assign]
build (3.11): functional/io.py#L166
[mypy] reported by reviewdog 🐶 Argument 1 to "TextIOWrapper" has incompatible type "GzipFile"; expected "IO[bytes]" [arg-type] Raw Output: /home/runner/work/PyFunctional/PyFunctional/functional/io.py:166:17: error: Argument 1 to "TextIOWrapper" has incompatible type "GzipFile"; expected "IO[bytes]" [arg-type]
build (3.11)
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.community/t5/GitHub-Actions/Maximum-number-of-annotations-that-can-be-created-using-GitHub/m-p/39085
build (3.11)
Process completed with exit code 1.
build (pypy3.9)
Process completed with exit code 1.
build (pypy3.9)
Process completed with exit code 2.
build (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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build (pypy3.9)
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/.