Skip to content

Add typing, minor fixes #25

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

Merged
merged 11 commits into from
Nov 17, 2021
Merged

Add typing, minor fixes #25

merged 11 commits into from
Nov 17, 2021

Conversation

tekktrik
Copy link
Member

A few things:

  • Added type hints
  • parse_note() now casts its argument to str which I believe was the intention, and is my understanding of the correct implementation reading the code. Would definitely appreciate a second set of eyes on that.
  • Added a small addition to one of the docstrings to add type to the Sphinx param
  • Had to add pwmio and audioio to mock imports because Sphinx failed building otherwise

@tekktrik
Copy link
Member Author

Also addresses #24

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you!

@tannewt tannewt merged commit 7acaba7 into adafruit:main Nov 17, 2021
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Nov 20, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP_ATcontrol to 0.6.0 from 0.5.9:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP_ATcontrol#49 from mperino/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_CursorControl to 2.5.0 from 2.4.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_CursorControl#28 from tekktrik/hotfix/remove-gamepad

Updating https://github.com/adafruit/Adafruit_CircuitPython_datetime to 1.1.5 from 1.1.4:
  > Fixed requirements.txt

Updating https://github.com/adafruit/Adafruit_CircuitPython_FunHouse to 2.1.6 from 2.1.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_FunHouse#24 from tekktrik/feature/add-typing

Updating https://github.com/adafruit/Adafruit_CircuitPython_Logging to 3.7.2 from 3.7.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Logging#24 from tekktrik/docfix/add-repo-version-info

Updating https://github.com/adafruit/Adafruit_CircuitPython_RGBLED to 1.1.8 from 1.1.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_RGBLED#18 from adafruit/patch-fix

Updating https://github.com/adafruit/Adafruit_CircuitPython_RTTTL to 2.4.8 from 2.4.7:
  > Merge pull request adafruit/Adafruit_CircuitPython_RTTTL#25 from tekktrik/feature/add-typing

Updating https://github.com/adafruit/Adafruit_CircuitPython_SimpleMath to 2.0.2 from 2.0.1:
  > Fixed requirements file
@tekktrik tekktrik mentioned this pull request Dec 14, 2021
4 tasks
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