Skip to content

Commit 4e2c583

Browse files
authored
Fix annotation for _read_int_degrees()
1 parent 6542aa5 commit 4e2c583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_gps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def _read_degrees(data: List[float], index: int, neg: str) -> float:
125125
return x
126126

127127

128-
def _read_int_degrees(data: List[float], index: int, neg: str) -> float:
128+
def _read_int_degrees(data: List[float], index: int, neg: str) -> Tuple[int, float]:
129129
deg = data[index] // 1000000
130130
minutes = data[index] % 1000000 / 10000
131131
if data[index + 1].lower() == neg:

0 commit comments

Comments
 (0)