Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
(cherry picked from commit 5032223)
  • Loading branch information
Govind-Jangid authored and mergify[bot] committed Feb 3, 2024
1 parent 1fcb105 commit 5ba9be8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frappe/email/doctype/auto_email_report/auto_email_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ class AutoEmailReport(Document):
from frappe.types import DF

data_modified_till: DF.Int
day_of_week: DF.Literal["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"]
day_of_week: DF.Literal[
+ "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"
+ ]
description: DF.TextEditor | None
dynamic_date_period: DF.Literal["", "Daily", "Weekly", "Monthly", "Quarterly", "Half Yearly", "Yearly"]
dynamic_date_period: DF.Literal[
+ "", "Daily", "Weekly", "Monthly", "Quarterly", "Half Yearly", "Yearly"
+ ]
email_to: DF.SmallText
enabled: DF.Check
filter_meta: DF.Text | None
Expand Down Expand Up @@ -380,4 +384,4 @@ def get_half_year_start(as_str=False):

result_date = datetime.date(year, month, day)

return result_date if not as_str else result_date.strftime(DATE_FORMAT)
return result_date if not as_str else result_date.strftime(DATE_FORMAT)

0 comments on commit 5ba9be8

Please sign in to comment.