-
Notifications
You must be signed in to change notification settings - Fork 75
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
feat: add inline type hints #134
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some confusion regarding duplication and specific types.
from google.api_core import operation as ga_operation | ||
from google.api_core import operation_async | ||
from google.api_core import operation as ga_operation # type: ignore | ||
from google.api_core import operation_async # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is autogen code: how are we going to preserve this work?
@@ -22,7 +22,7 @@ | |||
|
|||
import nox | |||
|
|||
|
|||
PYTYPE_VERSION = "pytype==2020.7.24" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change (and below) gets wiped out by synthtool
.
@@ -17,3 +17,14 @@ | |||
# Generated by synthtool. DO NOT EDIT! | |||
[bdist_wheel] | |||
universal = 1 | |||
|
|||
[pytype] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise wiped out by synthtool
.
from typing import Tuple | ||
|
||
|
||
__all__: Tuple[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why a tuple? It would normally be List[str]
?
No description provided.