Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use future annotations to allow import on desktop computers #101

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

jepler
Copy link
Member

@jepler jepler commented Sep 4, 2022

I needed this so that I could use adafruit_hid.keycode.Keycode in some programs to help generate keycode lists on my real computer.

I needed this so that I could use `adafruit_hid.keycode.Keycode` in some
programs to help generate keycode lists on my real computer.
@jepler jepler requested a review from a team September 4, 2022 02:08
Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - was there a specific cyclic import or something?

@jepler
Copy link
Member Author

jepler commented Sep 5, 2022

"import usb_hid" -- the whole module is unavailable

@jepler jepler merged commit f49bbee into main Sep 5, 2022
@dhalbert dhalbert deleted the fix-import-python3 branch September 5, 2022 15:24
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 9, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_TFmini to 1.2.15 from 1.2.14:
  > Merge pull request adafruit/Adafruit_CircuitPython_TFmini#14 from tcfranks/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_TLV493D to 2.0.0 from 1.2.13:
  > Merge pull request adafruit/Adafruit_CircuitPython_TLV493D#16 from BrianPugh/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_asyncio to 0.5.16 from 0.5.15:
  > Merge pull request adafruit/Adafruit_CircuitPython_asyncio#28 from tekktrik/dev/fix-ci
  > Merge pull request adafruit/Adafruit_CircuitPython_asyncio#26 from dedukun/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_HID to 5.3.3 from 5.3.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#104 from adafruit/typing-improvements
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#103 from adafruit/dont-crash-on-full
  > Merge pull request adafruit/Adafruit_CircuitPython_HID#101 from adafruit/fix-import-python3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants