From 588d2a7fc706b450cebcfc591606a26952a4d3b1 Mon Sep 17 00:00:00 2001 From: Ramir Mesquita Date: Wed, 11 Dec 2024 09:39:26 -0300 Subject: [PATCH] fix: adds ruff ignore rules for long lines --- src/apps/answers/crud/answers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/answers/crud/answers.py b/src/apps/answers/crud/answers.py index 848f9f4814e..7df9d4b60f5 100644 --- a/src/apps/answers/crud/answers.py +++ b/src/apps/answers/crud/answers.py @@ -238,9 +238,9 @@ async def get_respondents_submit_dates( case( ( AnswerSchema.flow_history_id.isnot(None), - AnswerSchema.id_from_history_id(AnswerSchema.flow_history_id) == str(filters.activity_or_flow_id), + AnswerSchema.id_from_history_id(AnswerSchema.flow_history_id) == str(filters.activity_or_flow_id), # noqa: E501 ), - else_=AnswerSchema.id_from_history_id(AnswerSchema.activity_history_id) + else_=AnswerSchema.id_from_history_id(AnswerSchema.activity_history_id) # noqa: E501 == str(filters.activity_or_flow_id), ) )