Skip to content

Commit 147ca85

Browse files
committed
change to forward reference for possibly unbound names in type hint(s)
1 parent 648ad4b commit 147ca85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_ads1x15/ads1x15.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class ADS1x15:
127127

128128
def __init__(
129129
self,
130-
i2c: I2C,
130+
i2c: "I2C",
131131
gain: float = 1,
132132
data_rate: Optional[int] = None,
133133
mode: int = Mode.SINGLE,

0 commit comments

Comments
 (0)