From 1e05fa420b7b0b993a9f7895d8d1ddca05fb8628 Mon Sep 17 00:00:00 2001 From: "tim.reichard" Date: Mon, 1 Nov 2021 12:49:59 -0500 Subject: [PATCH] Adding some lint errors from Alex's first PR --- aioradio/file_ingestion.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aioradio/file_ingestion.py b/aioradio/file_ingestion.py index 3425304..e3ee253 100644 --- a/aioradio/file_ingestion.py +++ b/aioradio/file_ingestion.py @@ -26,7 +26,7 @@ from collections import defaultdict from dataclasses import dataclass from dataclasses import field as dc_field -from datetime import datetime, timezone, tzinfo, timedelta +from datetime import datetime, timedelta, timezone, tzinfo from pathlib import Path from types import coroutine from typing import Any, Dict, List @@ -804,7 +804,7 @@ def check_for_prospects(self, row: dict[str, Any]) -> bool: ################################### Used by EFI exclusively ################################### ############################################################################################### - def check_year_efi(self, records: list[str], field: str, past: datetime, future: datetime, row_idx: int): + def check_year_efi(self, records: list[str], field: str, row_idx: int): """Check year conforms to expected year within time range. Args: @@ -818,7 +818,7 @@ def check_year_efi(self, records: list[str], field: str, past: datetime, future: for idx in range(len(records)): records[idx] = self.check_year(records[idx], field, row_idx + idx) - def check_date_efi(self, records: list[str], field: str, past: datetime, future: datetime, row_idx: int): + def check_date_efi(self, records: list[str], field: str, row_idx: int): """Check date conforms to expected date within time range. Args: