Skip to content

Commit

Permalink
Adding some lint errors from Alex's first PR
Browse files Browse the repository at this point in the history
  • Loading branch information
tim.reichard committed Nov 1, 2021
1 parent ea4ff74 commit 1e05fa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aioradio/file_ingestion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 1e05fa4

Please sign in to comment.