Skip to content

Tests: Add type hints #171

Tests: Add type hints

Tests: Add type hints #171

Triggered via pull request April 29, 2024 16:50
Status Failure
Total duration 49s
Artifacts

pythonTests.yml

on: pull_request
Matrix: lint
Matrix: pytest
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint (3.13-dev): tests/test_core.py#L8
Import "pytest" could not be resolved (reportMissingImports)
lint (3.13-dev): tests/test_core.py#L151
Type of "raises" is unknown (reportUnknownMemberType)
lint (3.13-dev): tests/test_core.py#L154
Type of "raises" is unknown (reportUnknownMemberType)
lint (3.13-dev): tests/test_core.py#L157
Type of "raises" is unknown (reportUnknownMemberType)
lint (3.13-dev): tests/test_core.py#L206
Function with declared return type "str" must return value on all code paths   "None" is incompatible with "str" (reportReturnType)
lint (3.13-dev): tests/test_core.py#L545
Type of "mark" is unknown (reportUnknownMemberType)
lint (3.13-dev): tests/test_core.py#L545
Type of "parametrize" is unknown (reportUnknownMemberType)
lint (3.13-dev): tests/test_core.py#L545
Untyped function decorator obscures type of function; ignoring decorator (reportUntypedFunctionDecorator)
lint (3.13-dev): tests/test_versions.py#L5
Import "pytest" could not be resolved (reportMissingImports)
lint (3.13-dev): tests/test_versions.py#L72
Type of "raises" is unknown (reportUnknownMemberType)