Updated a couple more dependencies and fix flake8 warnings

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2023-10-30 16:16:49 -04:00
parent 5e206ab10b
commit 8c825a43bd
5 changed files with 28 additions and 25 deletions

View File

@@ -60,7 +60,7 @@ def get_current_calendar_year_start_year():
def get_calendar_year_for_datetime(start_date):
if type(start_date) == date:
if isinstance(start_date) == date:
start_date = datetime.combine(start_date, time.min)
year = int(start_date.strftime("%Y"))