Skip to content

Fix signing for "staking-provider" commands. #614

Fix signing for "staking-provider" commands.

Fix signing for "staking-provider" commands. #614

Triggered via pull request February 29, 2024 11:09
Status Success
Total duration 2m 58s
Artifacts

mypy.yml

on: pull_request
runner / mypy
47s
runner / mypy
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
runner / mypy: multiversx_sdk_cli/custom_network_provider.py#L3
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk_network_providers": module is installed, but missing library stubs or py.typed marker [import-untyped] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/custom_network_provider.py:3:1: error: Skipping analyzing "multiversx_sdk_network_providers": module is installed, but missing library stubs or py.typed marker [import-untyped]
runner / mypy: multiversx_sdk_cli/custom_network_provider.py#L24
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "str" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/custom_network_provider.py:24:13: error: Returning Any from function declared to return "str" [no-any-return]
runner / mypy: multiversx_sdk_cli/custom_network_provider.py#L33
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "ITransactionOnNetwork" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/custom_network_provider.py:33:9: error: Returning Any from function declared to return "ITransactionOnNetwork" [no-any-return]
runner / mypy: multiversx_sdk_cli/custom_network_provider.py#L36
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "ISimulateResponse" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/custom_network_provider.py:36:9: error: Returning Any from function declared to return "ISimulateResponse" [no-any-return]
runner / mypy: multiversx_sdk_cli/localnet/config_software.py#L95
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "Path" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/localnet/config_software.py:95:9: error: Returning Any from function declared to return "Path" [no-any-return]
runner / mypy: multiversx_sdk_cli/localnet/config_root.py#L93
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "int" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/localnet/config_root.py:93:9: error: Returning Any from function declared to return "int" [no-any-return]
runner / mypy: multiversx_sdk_cli/localnet/config_root.py#L96
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "int" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/localnet/config_root.py:96:9: error: Returning Any from function declared to return "int" [no-any-return]
runner / mypy: multiversx_sdk_cli/cosign_transaction.py#L4
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk_network_providers.transactions": module is installed, but missing library stubs or py.typed marker [import-untyped] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/cosign_transaction.py:4:1: error: Skipping analyzing "multiversx_sdk_network_providers.transactions": module is installed, but missing library stubs or py.typed marker [import-untyped]
runner / mypy
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
runner / mypy: multiversx_sdk_cli/tests/test_playground_proxy.py#L1
[mypy] reported by reviewdog 🐶 Cannot find implementation or library stub for module named "pytest" [import-not-found] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/tests/test_playground_proxy.py:1:1: error: Cannot find implementation or library stub for module named "pytest" [import-not-found]
runner / mypy: multiversx_sdk_cli/tests/test_testnet.py#L23
[mypy] reported by reviewdog 🐶 By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/tests/test_testnet.py:23:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
runner / mypy: multiversx_sdk_cli/delegation/staking_provider.py#L5
[mypy] reported by reviewdog 🐶 See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/delegation/staking_provider.py:5:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
runner / mypy: multiversx_sdk_cli/tests/test_shared.py#L14
[mypy] reported by reviewdog 🐶 By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/tests/test_shared.py:14:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
runner / mypy: multiversx_sdk_cli/projects/project_base.py#L109
[mypy] reported by reviewdog 🐶 By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/projects/project_base.py:109:9: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
runner / mypy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, py-actions/py-dependency-install@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
runner / mypy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, py-actions/py-dependency-install@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/