Skip to content

Commit d56c704

Browse files
authored
Merge pull request #107 from pantheraleo-7/type-hint-forward-reference
change to forward reference for possibly unbound symbols in type hint(s)
2 parents f28afd2 + 147ca85 commit d56c704

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
@@ -136,7 +136,7 @@ class ADS1x15:
136136

137137
def __init__(
138138
self,
139-
i2c: I2C,
139+
i2c: "I2C",
140140
gain: float = 1,
141141
data_rate: Optional[int] = None,
142142
mode: int = Mode.SINGLE,

0 commit comments

Comments
 (0)