Skip to content

Add user profile pictures #3522

Add user profile pictures

Add user profile pictures #3522

Triggered via pull request September 22, 2024 18:54
Status Failure
Total duration 22s
Artifacts

linter.yml

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

Annotations

10 errors
Ruff (ERA001): care/facility/api/serializers/facility.py#L101
care/facility/api/serializers/facility.py:101:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/facility.py#L103
care/facility/api/serializers/facility.py:103:5: ERA001 Found commented-out code
Ruff (ERA001): care/facility/api/serializers/facility.py#L105
care/facility/api/serializers/facility.py:105:5: ERA001 Found commented-out code
Ruff (RUF012): care/facility/api/serializers/facility.py#L119
care/facility/api/serializers/facility.py:119:18: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
Ruff (EM101): care/facility/api/serializers/facility.py#L158
care/facility/api/serializers/facility.py:158:47: EM101 Exception must not use a string literal, assign to variable first
Ruff (EM101): care/facility/api/serializers/facility.py#L170
care/facility/api/serializers/facility.py:170:17: EM101 Exception must not use a string literal, assign to variable first
Ruff (EM101): care/facility/api/serializers/facility.py#L214
care/facility/api/serializers/facility.py:214:47: EM101 Exception must not use a string literal, assign to variable first
Ruff (EM101): care/facility/api/serializers/facility.py#L219
care/facility/api/serializers/facility.py:219:47: EM101 Exception must not use a string literal, assign to variable first
Ruff (ARG002): care/facility/api/serializers/facility.py#L237
care/facility/api/serializers/facility.py:237:22: ARG002 Unused method argument: `kwargs`
Ruff (ARG002): care/facility/api/viewsets/facility.py#L49
care/facility/api/viewsets/facility.py:49:45: ARG002 Unused method argument: `name`