Skip to content

Commit c3ab4bf

Browse files
committed
change to Optional[int] per review feedback
1 parent 050dc28 commit c3ab4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_sgp40/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def measure_index(
265265
def _read_word_from_command(
266266
self,
267267
delay_ms: int = 10,
268-
readlen: int = 1,
268+
readlen: Optional[int] = 1,
269269
) -> Optional[List[int]]:
270270
"""_read_word_from_command - send a given command code and read the result back
271271

0 commit comments

Comments
 (0)