We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 737c04f commit 5b55b7eCopy full SHA for 5b55b7e
adafruit_amg88xx.py
@@ -28,13 +28,14 @@
28
29
from adafruit_bus_device.i2c_device import I2CDevice
30
from adafruit_register import i2c_bit, i2c_bits
31
-from adafruit_register.i2c_bits import RWBits
32
-from adafruit_register.i2c_bit import RWBit
33
from micropython import const
34
-import busio
35
36
try:
37
from typing import List
+ # These are only needed for typing
+ import busio # pylint: disable=unused-import
+ from adafruit_register.i2c_bits import RWBits # pylint: disable=unused-import,line-too-long
38
+ from adafruit_register.i2c_bit import RWBit # pylint: disable=unused-import,line-too-long
39
except ImportError:
40
pass
41
0 commit comments