disable aspect ratio validation for images #3541
Annotations
10 errors
care/utils/models/validators.py#L45
care/utils/models/validators.py:45:9: RET503 Missing explicit `return` at the end of function able to return non-`None` value
|
care/utils/models/validators.py#L91
care/utils/models/validators.py:91:17: RUF012 Mutable class attributes should be annotated with `typing.ClassVar`
|
care/utils/models/validators.py#L101
care/utils/models/validators.py:101:30: EM101 Exception must not use a string literal, assign to variable first
|
care/utils/models/validators.py#L107
care/utils/models/validators.py:107:58: A001 Variable `type` is shadowing a Python builtin
|
care/utils/models/validators.py#L130
care/utils/models/validators.py:130:9: FBT001 Boolean-typed positional argument in function definition
|
care/utils/models/validators.py#L143
care/utils/models/validators.py:143:17: EM101 Exception must not use a string literal, assign to variable first
|
care/utils/models/validators.py#L151
care/utils/models/validators.py:151:21: EM102 Exception must not use an f-string literal, assign to variable first
|
care/utils/models/validators.py#L158
care/utils/models/validators.py:158:39: EM101 Exception must not use a string literal, assign to variable first
|
care/utils/models/validators.py#L160
care/utils/models/validators.py:160:39: EM101 Exception must not use a string literal, assign to variable first
|
care/utils/models/validators.py#L164
care/utils/models/validators.py:164:21: EM102 Exception must not use an f-string literal, assign to variable first
|
This job failed
Loading