Skip to content

Optimize tests and GitHub Workflows #724

Optimize tests and GitHub Workflows

Optimize tests and GitHub Workflows #724

Triggered via pull request October 11, 2024 10:24
Status Success
Total duration 27s
Artifacts

mypy.yml

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

Annotations

10 errors and 10 warnings
runner / mypy: multiversx_sdk_cli/custom_network_provider.py#L3
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk": 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": 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/validators/validators_file.py#L5
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk": 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/validators/validators_file.py:5:1: error: Skipping analyzing "multiversx_sdk": module is installed, but missing library stubs or py.typed marker [import-untyped]
runner / mypy: multiversx_sdk_cli/accounts.py#L5
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk": 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/accounts.py:5:1: error: Skipping analyzing "multiversx_sdk": module is installed, but missing library stubs or py.typed marker [import-untyped]
runner / mypy: multiversx_sdk_cli/accounts.py#L7
[mypy] reported by reviewdog 🐶 Skipping analyzing "multiversx_sdk.network_providers.accounts": 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/accounts.py:7:1: error: Skipping analyzing "multiversx_sdk.network_providers.accounts": module is installed, but missing library stubs or py.typed marker [import-untyped]
runner / mypy: multiversx_sdk_cli/accounts.py#L75
[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/accounts.py:75:13: error: Returning Any from function declared to return "str" [no-any-return]
runner / mypy: multiversx_sdk_cli/accounts.py#L77
[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/accounts.py:77:9: error: Returning Any from function declared to return "str" [no-any-return]
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/delegation/staking_provider.py#L6
[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:6:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
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#L107
[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:107:9: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
runner / mypy: multiversx_sdk_cli/dns.py#L58
[mypy] reported by reviewdog 🐶 Possible overload variants: Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:58:19: note: Possible overload variants:
runner / mypy: multiversx_sdk_cli/dns.py#L58
[mypy] reported by reviewdog 🐶 def __getitem__(self, SupportsIndex, /) -> Any Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:58:19: note: def __getitem__(self, SupportsIndex, /) -> Any
runner / mypy: multiversx_sdk_cli/dns.py#L58
[mypy] reported by reviewdog 🐶 def __getitem__(self, slice, /) -> list[Any] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:58:19: note: def __getitem__(self, slice, /) -> list[Any]
runner / mypy: multiversx_sdk_cli/dns.py#L109
[mypy] reported by reviewdog 🐶 Possible overload variants: Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:109:12: note: Possible overload variants:
runner / mypy: multiversx_sdk_cli/dns.py#L109
[mypy] reported by reviewdog 🐶 def __getitem__(self, SupportsIndex, /) -> Any Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:109:12: note: def __getitem__(self, SupportsIndex, /) -> Any
runner / mypy: multiversx_sdk_cli/dns.py#L109
[mypy] reported by reviewdog 🐶 def __getitem__(self, slice, /) -> list[Any] Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:109:12: note: def __getitem__(self, slice, /) -> list[Any]
runner / mypy: multiversx_sdk_cli/dns.py#L127
[mypy] reported by reviewdog 🐶 Possible overload variants: Raw Output: /home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/dns.py:127:30: note: Possible overload variants: