You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to Python 3 function annotations and type comments we should also support annotations in docstrings, following Google docstring conventions. Example:
This would be primarily useful for code that needs to be Python 2 compatible. It should be possible to mix and match different kinds of annotations in a file. A type comment should take precedence over a docstring.
This should probably be opt-in (per file) so that we wouldn't give false positives for docstrings that don't fully conform to the expected syntax.
The text was updated successfully, but these errors were encountered:
In addition to Python 3 function annotations and type comments we should also support annotations in docstrings, following Google docstring conventions. Example:
This would be primarily useful for code that needs to be Python 2 compatible. It should be possible to mix and match different kinds of annotations in a file. A type comment should take precedence over a docstring.
This should probably be opt-in (per file) so that we wouldn't give false positives for docstrings that don't fully conform to the expected syntax.
The text was updated successfully, but these errors were encountered: