Skip to content

Commit fed2473

Browse files
committed
Use future annotations to allow import on desktop computers
I needed this so that I could use `adafruit_hid.keycode.Keycode` in some programs to help generate keycode lists on my real computer.
1 parent cbbd072 commit fed2473

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_hid/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"""
1919

2020
# imports
21+
from __future__ import annotations
22+
2123
try:
2224
from typing import Sequence
2325
import usb_hid

0 commit comments

Comments
 (0)