Skip to content

Replace transaction class with the one from sdk-core #358

Replace transaction class with the one from sdk-core

Replace transaction class with the one from sdk-core #358

Triggered via pull request July 12, 2023 14:54
Status Success
Total duration 40s
Artifacts

mypy.yml

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

Annotations

10 errors and 5 warnings
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/accounts.py#L5
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk_core": module is installed, but missing library stubs or py.typed marker [import] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/accounts.py:5:1: error: Skipping analyzing "multiversx_sdk_core": module is installed, but missing library stubs or py.typed marker [import]
runner / mypy: multiversx_sdk_cli/accounts.py#L6
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk_network_providers.accounts": module is installed, but missing library stubs or py.typed marker [import] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/accounts.py:6:1: error: Skipping analyzing "multiversx_sdk_network_providers.accounts": module is installed, but missing library stubs or py.typed marker [import]
runner / mypy: multiversx_sdk_cli/transactions.py#L7
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk_core": module is installed, but missing library stubs or py.typed marker [import] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/transactions.py:7:1: error: Skipping analyzing "multiversx_sdk_core": module is installed, but missing library stubs or py.typed marker [import]
runner / mypy: multiversx_sdk_cli/transactions.py#L158
[mypy] reported by reviewdog 🐶 Returning Any from function declared to return "dict[str, Any]" [no-any-return] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/transactions.py:158:5: error: Returning Any from function declared to return "dict[str, Any]" [no-any-return]
runner / mypy: multiversx_sdk_cli/tests/test_accounts.py#L3
[mypy] reported by reviewdog 🐶 Cannot find implementation or library stub for module named "pytest" [import] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/tests/test_accounts.py:3:1: error: Cannot find implementation or library stub for module named "pytest" [import]
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_accounts.py#L4
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk_core": module is installed, but missing library stubs or py.typed marker [import] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/tests/test_accounts.py:4:1: error: Skipping analyzing "multiversx_sdk_core": module is installed, but missing library stubs or py.typed marker [import]
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/projects/project_base.py#L110
[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:110:9: 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/projects/templates.py#L19
[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/templates.py:19:5: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
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/