Skip to content

Commit 7875aa6

Browse files
committed
Add Missing Type Annotations
1 parent 37a6c97 commit 7875aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_veml6075.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def uv_index(self) -> float:
150150
return ((self._uvacalc * self._uvaresp) + (self._uvbcalc * self._uvbresp)) / 2
151151

152152
@property
153-
def integration_time(self) -> Union(None, int):
153+
def integration_time(self) -> Union[None, int]:
154154
"""The amount of time the VEML is sampling data for, in millis.
155155
Valid times are 50, 100, 200, 400 or 800ms"""
156156
key = (self._read_register(_REG_CONF) >> 4) & 0x7

0 commit comments

Comments
 (0)