Skip to content

Commit 06afbb2

Browse files
committed
Add type annotation to read_input_csv argument
1 parent 6b97e8c commit 06afbb2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/strava_gear/input/activities.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import sqlite3
44
from typing import Dict
55
from typing import List
6+
from typing import TextIO
67
from typing import Tuple
78
from typing import Union
89

@@ -20,7 +21,7 @@
2021
}
2122

2223

23-
def read_input_csv(inp) -> Tuple[Dict[BikeName, BikeId], List[Dict]]:
24+
def read_input_csv(inp: TextIO) -> Tuple[Dict[BikeName, BikeId], List[Dict]]:
2425
"""
2526
Load activities from CSV generated from this command:
2627

0 commit comments

Comments
 (0)