-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 typing annotations #6113
Comments
Hey @Kroppeb -- sorry I've been away for a bit the start of this year, but I am getting back into pipenv issues now. There isn't a real reason we are lacking type annotations other than the pile of technical debt we are chipping away at -- not so long ago pip-shims and requirementslib/vistir were all part of the equation too but not anymore. We would welcome any community driven PR enhancements that solve problems and/or further help cleanup the codebase. You can find me hanging out in the Python Developers slack group, I am not sure if this invite will work but you can definitely find it or email me -- its on my github profile. https://join.slack.com/t/pythondev/shared_invite/zt-2fcjlo1yc-NisCSxAbN7BT~cP9PKpD6w |
@matteius Do you want the types as type annotations, or do you think it's better to specify the types in the docstrings to avoid circular imports? |
I'd prefer type annotations over docstrings -- its more modern and useful in general. I think circular imports can be avoided because you can do you can string quote types we provide that would be a circular import. Like |
Good to know, I'll probably make a pr then one of the next few days |
Hi
I'm looking into helping out with solving some issues in pipenv, and was diving through some of the code.
I noticed that there a lot of code doesn't have type annotations or docs with type information.
Is this an intentional choice, or more a lack of necessity and time?
Having typing information would make navigating the code quite a bit more pleasant :)
Ps.
Is there a place where the pipenv team discusses development things outside of github issues?
The text was updated successfully, but these errors were encountered: