Skip to content

archived spo2 field to archived_spo2 #3524

archived spo2 field to archived_spo2

archived spo2 field to archived_spo2 #3524

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

linter.yml

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

Annotations

10 errors
Ruff (INP001): care/abdm/utils/fhir.py#L1
care/abdm/utils/fhir.py:1:1: INP001 File `care/abdm/utils/fhir.py` is part of an implicit namespace package. Add an `__init__.py`.
Ruff (PLR2004): care/abdm/utils/fhir.py#L81
care/abdm/utils/fhir.py:81:69: PLR2004 Magic value used in comparison, consider replacing `2` with a constant variable
Ruff (TD002): care/abdm/utils/fhir.py#L112
care/abdm/utils/fhir.py:112:36: TD002 Missing author in TODO; try: `# TODO(<author_name>): ...` or `# TODO @<author_name>: ...`
Ruff (TD003): care/abdm/utils/fhir.py#L112
care/abdm/utils/fhir.py:112:36: TD003 Missing issue link on the line following this TODO
Ruff (C417): care/abdm/utils/fhir.py#L240
care/abdm/utils/fhir.py:240:20: C417 Unnecessary `map` usage (rewrite using a `list` comprehension)
Ruff (C417): care/abdm/utils/fhir.py#L284
care/abdm/utils/fhir.py:284:17: C417 Unnecessary `map` usage (rewrite using a `list` comprehension)
Ruff (TD002): care/abdm/utils/fhir.py#L358
care/abdm/utils/fhir.py:358:11: TD002 Missing author in TODO; try: `# TODO(<author_name>): ...` or `# TODO @<author_name>: ...`
Ruff (TD003): care/abdm/utils/fhir.py#L358
care/abdm/utils/fhir.py:358:11: TD003 Missing issue link on the line following this TODO
Ruff (C417): care/abdm/utils/fhir.py#L387
care/abdm/utils/fhir.py:387:21: C417 Unnecessary `map` usage (rewrite using a `list` comprehension)
Ruff (RET503): care/abdm/utils/fhir.py#L415
care/abdm/utils/fhir.py:415:9: RET503 Missing explicit `return` at the end of function able to return non-`None` value