Skip to content

Commit 88aa049

Browse files
committed
Add missint type annotations
1 parent fef2ed9 commit 88aa049

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_fxas21002c.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
import time
3333

3434
try:
35-
from typing import Tuple
35+
from typing import List, Tuple
3636
from busio import I2C
3737
except ImportError:
3838
pass
@@ -181,7 +181,7 @@ def read_raw(self) -> Tuple[int, int, int]:
181181
# types. Perhaps it doesn't understand map returns an iterable value.
182182
# Disable the warning.
183183
@property
184-
def gyroscope(self) -> Tuple[float, float, float]:
184+
def gyroscope(self) -> List[float]:
185185
"""Read the gyroscope value and return its X, Y, Z axis values as a
186186
3-tuple in radians/second.
187187
"""

0 commit comments

Comments
 (0)