File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1111 from typing import Optional , Type
1212 from types import TracebackType
1313 from circuitpython_typing import ReadableBuffer , WriteableBuffer
14+
15+ # Used only for type annotations.
16+ from busio import I2C
1417except ImportError :
1518 pass
1619
17- from busio import I2C
1820
1921__version__ = "0.0.0-auto.0"
2022__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git"
Original file line number Diff line number Diff line change 1212try :
1313 from typing import Optional , Type
1414 from types import TracebackType
15+
16+ # Used only for type annotations.
17+ from busio import SPI
18+ from digitalio import DigitalInOut
1519except ImportError :
1620 pass
1721
18- from busio import SPI
19- from digitalio import DigitalInOut
2022
2123__version__ = "0.0.0-auto.0"
2224__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git"
You can’t perform that action at this time.
0 commit comments