Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add type hints #265

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

Closed
wants to merge 2 commits into from
Closed

Conversation

tlaferriere
Copy link
Contributor

This adds type hints to every function not deprecated. Should fix #213 .

I've had to refactor some of the code to get mypy to stop complaining on python 3.8. It isn't configured in Tox yet because I am waiting on #247 to be merged to avoid conflicts.

@tlaferriere tlaferriere marked this pull request as draft June 11, 2020 04:22
@tlaferriere tlaferriere changed the title WIP: Add type hints Add type hints Jun 11, 2020
@tomschr
Copy link
Member

tomschr commented Oct 21, 2020

@tlaferriere Thanks Thomas for investigating that. As I did lots of changes lately with the upcoming 3.0.0-alpha0, I'd suggest to add your work into one of the next alphas or betas.

I think, your work and effort should be preserved. 👍 We only need to make sure we fix all the conflicts. 😉

@tlaferriere
Copy link
Contributor Author

Is there a branch for 3.x development I can merge this in?

@tomschr
Copy link
Member

tomschr commented Oct 21, 2020

You could use the feature/3.0.0-alpha0 branch. However, maybe we should try this with alpha1 to make the changes a bit more manageable. Would that be an option for you?

@tlaferriere
Copy link
Contributor Author

Alright I'll point a pr to the Alpha 0 branch so I can start fixing the conflicts.

@tomschr
Copy link
Member

tomschr commented Oct 21, 2020

That would be awesome! ❤️ Thanks and sorry for all the conflicts.

@tlaferriere
Copy link
Contributor Author

Closing in favor of tomschr#6

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.

Consider type hints for 3.x.y release?
2 participants