File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11
11
from typing import Optional , Type
12
12
from types import TracebackType
13
13
from circuitpython_typing import ReadableBuffer , WriteableBuffer
14
+
15
+ # Used only for type annotations.
16
+ from busio import I2C
14
17
except ImportError :
15
18
pass
16
19
17
- from busio import I2C
18
20
19
21
__version__ = "0.0.0-auto.0"
20
22
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git"
Original file line number Diff line number Diff line change 12
12
try :
13
13
from typing import Optional , Type
14
14
from types import TracebackType
15
+
16
+ # Used only for type annotations.
17
+ from busio import SPI
18
+ from digitalio import DigitalInOut
15
19
except ImportError :
16
20
pass
17
21
18
- from busio import SPI
19
- from digitalio import DigitalInOut
20
22
21
23
__version__ = "0.0.0-auto.0"
22
24
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_BusDevice.git"
You can’t perform that action at this time.
0 commit comments