-
Notifications
You must be signed in to change notification settings - Fork 141
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
PEP484 type annotate all of bandersnatch #15
Comments
Ok - Only plugins left to strictly type annotate. Help welcome or I'll eventually get to it. |
I didn't mean to close this! We are getting close tho! |
Hi! I can probably finish this off if you can point me in the right direction |
No problem. What's left is all the test code here: https://github.com/pypa/bandersnatch/tree/master/src/bandersnatch/tests How I'd go about this
|
hi, just a quick update. I've made a start on this here: master...rkm:issue/15-pep484-type-annotations. Turns out pytest is not very pep484-friendly currently, so I've had to import some of its private members to keep mypy happy. Interested to hear any suggestions! some related issues:
|
Awesome stuff! Really appreciate the efforts. I'm also open to accepting some PRs that partly make this work and to divide up your remaining plan. I knew this would not be a super easy PR to finish. Also happy to accept plenty of If you'd like more real time chat we can do that too on IRC - irc.freenode.net #bandersnatch. We have a few active maintainers hang out in there very regularly now! |
Lets add PEP484 type annotations to all source code and get clean passing
mypy
checks.Mypy: http://mypy.readthedocs.io/en/stable/getting_started.html
typing module: https://docs.python.org/3/library/typing.html
The text was updated successfully, but these errors were encountered: