Skip to content

cicd: update style checks and test coverage dependencies #111

cicd: update style checks and test coverage dependencies

cicd: update style checks and test coverage dependencies #111

Triggered via pull request September 27, 2023 16:39
Status Failure
Total duration 2m 50s
Artifacts

checks.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (ANN204): disease/database/dynamodb.py#L35
disease/database/dynamodb.py:35:9: ANN204 Missing return type annotation for special method `__init__`
Ruff (ANN202): disease/database/dynamodb.py#L117
disease/database/dynamodb.py:117:9: ANN202 Missing return type annotation for private function `_create_diseases_table`
Ruff (ANN401): disease/database/dynamodb.py#L416
disease/database/dynamodb.py:416:60: ANN401 Dynamically typed expressions (typing.Any) are disallowed in `merge_ref`
Ruff (ANN201): disease/main.py#L23
disease/main.py:23:5: ANN201 Missing return type annotation for public function `custom_openapi`
Ruff (ANN201): disease/main.py#L83
disease/main.py:83:5: ANN201 Missing return type annotation for public function `search`
Ruff (ANN201): disease/main.py#L114
disease/main.py:114:5: ANN201 Missing return type annotation for public function `normalize`
Ruff (D404): disease/query.py#L1
disease/query.py:1:1: D404 First word of the docstring should not be "This"
Ruff (N818): disease/query.py#L24
disease/query.py:24:7: N818 Exception name `InvalidParameterException` should be named with an Error suffix
Ruff (ANN204): disease/query.py#L27
disease/query.py:27:9: ANN204 Missing return type annotation for special method `__init__`
Ruff (ANN001): disease/query.py#L27
disease/query.py:27:24: ANN001 Missing type annotation for function argument `message`