Skip to content

Commit 6c05c8c

Browse files
committed
fix: fix python-lint
1 parent 708765b commit 6c05c8c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

webapp/store/logic.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def convert_date(date_to_convert):
205205
else:
206206
return date_parsed.strftime("%-d %B %Y")
207207

208+
208209
def convert_date_month_year(date_to_convert):
209210
"""Convert date to month and year format: Month Year
210211
@@ -252,7 +253,9 @@ def is_snap_old(last_updated_date, old_threshold_years=2.0):
252253
return {
253254
"is_old": is_old,
254255
"years_since_update": years_since_update,
255-
"last_updated_formatted": convert_date_month_year(last_updated_date),
256+
"last_updated_formatted": convert_date_month_year(
257+
last_updated_date
258+
),
256259
}
257260
except (ValueError, TypeError):
258261
# If we can't parse the date, assume it's not old

0 commit comments

Comments
 (0)