Skip to content

Commit 26de218

Browse files
committed
eli-366 more linting
1 parent 5c9dcae commit 26de218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eligibility_signposting_api/model/campaign_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ class IterationRule(BaseModel):
158158
model_config = {"populate_by_name": True, "extra": "ignore"}
159159

160160
@field_validator("rule_stop", mode="before")
161-
def parse_yn_to_bool(cls, v: str | bool) -> bool: # noqa: N805
161+
def parse_yn_to_bool(cls, v: str | bool) -> bool: # noqa: N805, FBT001
162162
if isinstance(v, str):
163163
return v.upper() == "Y"
164164
return v

0 commit comments

Comments
 (0)