Skip to content

Reply feature for Doctor notes #3516

Reply feature for Doctor notes

Reply feature for Doctor notes #3516

Triggered via pull request September 22, 2024 17:40
Status Failure
Total duration 19s
Artifacts

linter.yml

on: pull_request
Lint Code Base
12s
Lint Code Base
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (RET503): care/facility/api/serializers/patient.py#L115
care/facility/api/serializers/patient.py:115:9: RET503 Missing explicit `return` at the end of function able to return non-`None` value
Ruff (RUF005): care/facility/api/serializers/patient.py#L139
care/facility/api/serializers/patient.py:139:21: RUF005 Consider `(*TIMESTAMP_FIELDS, "death_datetime")` instead of concatenation
Ruff (ERA001): care/facility/api/serializers/patient.py#L181
care/facility/api/serializers/patient.py:181:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/patient.py#L183
care/facility/api/serializers/patient.py:183:5: ERA001 Found commented-out code
Ruff (RUF005): care/facility/api/serializers/patient.py#L226
care/facility/api/serializers/patient.py:226:21: RUF005 Consider iterable unpacking instead of concatenation
Ruff (ERA001): care/facility/api/serializers/patient.py#L234
care/facility/api/serializers/patient.py:234:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/patient.py#L236
care/facility/api/serializers/patient.py:236:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/patient.py#L237
care/facility/api/serializers/patient.py:237:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/patient.py#L241
care/facility/api/serializers/patient.py:241:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/patient.py#L242
care/facility/api/serializers/patient.py:242:5: ERA001 Found commented-out code