Skip to content

Commit 72c2d68

Browse files
committed
Remove Optional import, add pylint disable
1 parent 75fdee6 commit 72c2d68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_bme280/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
from micropython import const
3737

3838
try:
39-
from typing import Optional
39+
import typing # pylint: disable=unused-import
4040
from busio import I2C, SPI
4141
from digitalio import DigitalInOut
4242
except ImportError:

0 commit comments

Comments
 (0)