Skip to content

Add Type Hints #57

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 9 commits into from
Dec 21, 2021
Merged

Add Type Hints #57

merged 9 commits into from
Dec 21, 2021

Conversation

tekktrik
Copy link
Member

@tekktrik tekktrik commented Nov 5, 2021

Address #56

@tekktrik
Copy link
Member Author

tekktrik commented Nov 5, 2021

Not sure why it fails on building the Sphinx docs... happy to change it with some help :)

@tekktrik
Copy link
Member Author

Added pwmio to autodoc_mock_import in docs/conf.py so it would build, but want to make sure that's the correct solution

@dhalbert
Copy link
Contributor

Added pwmio to autodoc_mock_import in docs/conf.py so it would build, but want to make sure that's the correct solution

I think that makes sense here. pwmio.PWMOut is implemented for some boards under blinka, but not for "generic linux".

@tekktrik
Copy link
Member Author

Awesome, thanks!

Also added license to adafruit_motor/__init__.py since there wasn't one
@tekktrik
Copy link
Member Author

I don't see CircuitPythonLibrarians tagged, do I need that so this doesn't get lost? Not too familiar with the review process behind-the-scenes.

@tannewt tannewt requested a review from a team December 16, 2021 19:48
Copy link
Contributor

@FoamyGuy FoamyGuy 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. did not test with hardware.

@FoamyGuy FoamyGuy merged commit 9995c45 into adafruit:main Dec 21, 2021
@FoamyGuy FoamyGuy mentioned this pull request Dec 21, 2021
14 tasks
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 21, 2021
Updating https://github.com/adafruit/Adafruit_CircuitPython_Motor to 3.3.2 from 3.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Motor#57 from tekktrik/feature/add-typing
  > update rtd py version
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.

3 participants