Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
robinmessage committed Sep 7, 2023
1 parent df8f58e commit f81f1d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions methods/common/luc.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from typing import Iterable

def luc_matching_columns(start_year: int) -> tuple[int, int, int]:
def luc_matching_columns(start_year: int) -> tuple[str, str, str]:
luc0 = f'luc_{start_year}'
luc5 = f'luc_{start_year - 5}'
luc10 = f'luc_{start_year - 10}'
return luc0,luc5,luc10
return luc0, luc5, luc10


def luc_range(start_year: int, evaluation_year: int) -> Iterable[int]:
return range(start_year - 10, evaluation_year + 1)

0 comments on commit f81f1d2

Please sign in to comment.