Move typing import to top of block
This commit is contained in:
parent
0bf4bcdcc8
commit
89c292dc82
1 changed files with 1 additions and 1 deletions
|
|
@ -42,9 +42,9 @@ except ImportError:
|
|||
import adafruit_framebuf as framebuf
|
||||
|
||||
try:
|
||||
from typing import Optional
|
||||
from digitalio import DigitalInOut
|
||||
from busio import I2C, SPI
|
||||
from typing import Optional
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue