Skip to content

Commit 485af33

Browse files
committed
Add Missing Type Annotations
1 parent 51410bc commit 485af33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_veml7700.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def integration_time_value(self) -> int:
207207
integration_time = self.light_integration_time
208208
return self.integration_time_values[integration_time]
209209

210-
def gain_value(self) -> int:
210+
def gain_value(self) -> float:
211211
"""Gain value in integer form. Used for calculating :meth:`resolution`."""
212212
gain = self.light_gain
213213
return self.gain_values[gain]

0 commit comments

Comments
 (0)