Fix all linting issues in care #3571
Annotations
7 errors
Ruff (INP001):
care/abdm/api/serializers/abha_number.py#L1
care/abdm/api/serializers/abha_number.py:1:1: INP001 File `care/abdm/api/serializers/abha_number.py` is part of an implicit namespace package. Add an `__init__.py`.
|
Ruff (PLR0912):
care/facility/api/serializers/patient_consultation.py#L305
care/facility/api/serializers/patient_consultation.py:305:9: PLR0912 Too many branches (21 > 12)
|
Ruff (S603):
care/facility/tests/test_pdf_generation.py#L53
care/facility/tests/test_pdf_generation.py:53:9: S603 `subprocess` call: check for execution of untrusted input
|
Ruff (RUF100):
care/facility/tests/test_pdf_generation.py#L54
care/facility/tests/test_pdf_generation.py:54:88: RUF100 Unused `noqa` directive (unused: `S603`)
|
Ruff (S603):
care/facility/utils/reports/discharge_summary.py#L215
care/facility/utils/reports/discharge_summary.py:215:9: S603 `subprocess` call: check for execution of untrusted input
|
Ruff (RUF100):
care/facility/utils/reports/discharge_summary.py#L216
care/facility/utils/reports/discharge_summary.py:216:16: RUF100 Unused `noqa` directive (unused: `S603`)
|
Lint Code Base
Process completed with exit code 1.
|