Skip to content

Add type annotations #166

Add type annotations

Add type annotations #166

Triggered via pull request November 25, 2024 02:19
Status Failure
Total duration 11s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (ANN201): tests/test_endpoints.py#L26
tests/test_endpoints.py:26:9: ANN201 Missing return type annotation for public function `setUp`
Ruff (ANN201): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:9: ANN201 Missing return type annotation for public function `assertEndpointReached`
Ruff (ANN001): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:37: ANN001 Missing type annotation for function argument `func`
Ruff (ANN001): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:43: ANN001 Missing type annotation for function argument `params`
Ruff (ANN001): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:51: ANN001 Missing type annotation for function argument `method`
Ruff (ANN001): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:59: ANN001 Missing type annotation for function argument `endpoint`
Ruff (ANN001): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:69: ANN001 Missing type annotation for function argument `mock_request`
Ruff (ANN001): tests/test_endpoints.py#L43
tests/test_endpoints.py:43:83: ANN001 Missing type annotation for function argument `timeout`
Ruff (ANN201): tests/test_endpoints.py#L59
tests/test_endpoints.py:59:9: ANN201 Missing return type annotation for public function `assertExceptionHandled`
Ruff (ANN001): tests/test_endpoints.py#L59
tests/test_endpoints.py:59:38: ANN001 Missing type annotation for function argument `status_code`