-
Notifications
You must be signed in to change notification settings - Fork 12
Add typehints #74
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
Add typehints #74
Conversation
Change parentheses to brackets, and it should be List[int]
Meant to tag this as resolving issue #72 |
I added text to the initial comment so that the issue would be linked. |
Missed that, thanks! |
I know there was a patch for regarding upgrading pylint, but I can't seem to get it, is that something I should do for this? |
@tekktrik You don't need to do anything to upgrade Pylint on this repo, it happens behind the scenes. I've rerun the jobs - a number of the failures are a check we are disabling separately. I will rerun the jobs after that, and then you are welcome to take care of the rest of the linting issues in the repo (as per https://github.com/adafruit/Adafruit_CircuitPython_FeatherWing/pull/75/files) and we can close Dylan's PR in place of this one. Otherwise, I need to merge Dylan's PR, and then you have to update this one to match anyway. Are you up for linting this? You would need to update the imports, and disable |
Definitely up for linting! |
Just merged that linting branch into mine |
Nevermind that, working on it now! |
Changes from #75 incorporated! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much! One more thing below.
f = open("/sd/tft_featherwing.txt", "w") | ||
f.write("Blinka\nBlackberry Q10 Keyboard") | ||
f.close() | ||
with open( # pylint: disable=unspecified-encoding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this pylint: disable=
as we've added it globally. Thanks!
f = open("/sd/tft_featherwing.txt", "r") | ||
print(f.read()) | ||
f.close() | ||
with open( # pylint: disable=unspecified-encoding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same!
Oh nice catch! Removed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Thanks for sticking through it, @tekktrik!
My pleasure! Thanks for all the assistance on these! |
Shout out to whoever added those Sphinx markups, you made life much easier!
Closes: #72