-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
Python type hinting #117
Comments
Authors are free to describe types however they want after the
We'll be adopting official Python PEP484 type annotation syntax in the future. It is not docstring based. Docstrings are meant for human consumption, please keep them readable for us humans. :) |
Ok, that helps and even answers the question. Thanks for the quick response! |
FYI, if you want a pylint plugin for Google Python style docstrings, the Chromium project has one: |
Hi,
In the python style guide the part on comments only mention that the types should be described. However it doesn't mention the capability to declare types in docstrings e.g.
"""Args: my_house (lib.base.House): my new house """
Would adding type hinting break google style guide?
The text was updated successfully, but these errors were encountered: