mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-09-06 03:20:49 +02:00
Fix ruff lint violations
This commit is contained in:
@@ -44,7 +44,11 @@ def evaluate(context: RuleContext):
|
||||
)
|
||||
)
|
||||
|
||||
year_from = started_at.year if getattr(context.settings, "retroactive_claims", False) else context.today.year
|
||||
year_from = (
|
||||
started_at.year
|
||||
if getattr(context.settings, "retroactive_claims", False)
|
||||
else context.today.year
|
||||
)
|
||||
for year in range(year_from, context.today.year + 2):
|
||||
actions.extend(_membership_claims(context, started_at, accepted_at, year))
|
||||
return actions
|
||||
|
||||
Reference in New Issue
Block a user