Skip to content

Fixing make stub warnings and mypy issues - #3621

Merged
tannewt merged 2 commits into
adafruit:mainfrom
sw23:main
Oct 30, 2020
Merged

tannewt merged 2 commits into
adafruit:mainfrom
sw23:main

Conversation

@sw23

@sw23 sw23 commented Oct 30, 2020 •

Copy link
Copy Markdown

This cleanup is part of #2041 - cleaning up warnings from make stubs and make check-stubs. Adding more detailed type information and fixing a few types.

I worked on this as part of #hacktoberfest (https://hacktoberfest.digitalocean.com/), so if the PR looks OK would you mind adding the label hacktoberfest-accepted?

Note that several of the warnings/errors are coming from the ulab package, so I'll try and make a PR there as well.
[Update] Looks like most of the ulab errors have been fixed now

@sw23 sw23 changed the title Fixing make stub warnings and mypy issuesmak Fixing make stub warnings and mypy issues Oct 30, 2020
@tannewt
tannewt self-requested a review October 30, 2020 01:00

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One question and type correction. Thank you!

Comment thread shared-bindings/displayio/Display.c Resolved
Comment thread shared-bindings/wifi/Radio.c Resolved
@sw23
sw23 requested a review from tannewt October 30, 2020 05:58

@tannewt tannewt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you! Is there a mypy check you could add to our CI in a follow up PR?

@tannewt
tannewt merged commit c7db9e5 into adafruit:main Oct 30, 2020
@sw23

sw23 commented Oct 30, 2020

Copy link
Copy Markdown
Author

@tannewt - Yep, will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants