notify-api-412 use black to enforce python coding style

This commit is contained in:
Kenneth Kehl
2023-08-25 09:12:23 -07:00
parent c6eb007386
commit 8c9721d8e2
201 changed files with 31660 additions and 28105 deletions

View File

@@ -6,8 +6,8 @@ from dateutil import parser
def get_current_financial_year():
now = datetime.now(pytz.utc)
current_month = int(now.strftime('%-m'))
current_year = int(now.strftime('%Y'))
current_month = int(now.strftime("%-m"))
current_year = int(now.strftime("%Y"))
return current_year if current_month > 9 else current_year - 1