-
Notifications
You must be signed in to change notification settings - Fork 207
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
samples: add type hints to all samples #264
Labels
api: pubsub
Issues related to the googleapis/python-pubsub API.
samples
Issues that are directly related to samples.
type: docs
Improvement to the documentation for an API.
Comments
product-auto-label
bot
added
api: pubsub
Issues related to the googleapis/python-pubsub API.
samples
Issues that are directly related to samples.
labels
Dec 21, 2020
1 task
meredithslota
added
type: docs
Improvement to the documentation for an API.
and removed
🚨
This issue needs some love.
triage me
I really want to be triaged.
labels
Dec 28, 2020
@anguillanneuf What's the status of this, have you started working on type hints yet? If not, I can probably handle this, I'll have some spare cycles. |
@plamut Thanks for the ping. If you can handle it, I will review. Thanks again! |
gcf-merge-on-green bot
pushed a commit
that referenced
this issue
Aug 25, 2021
Closes #264. And here they are, annotated samples. We should follow up with a `pytype` CI check, I'll open a separate issue for that. **PR checklist:** - [x] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-pubsub/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [x] Ensure the tests and linter pass - [x] Code coverage does not decrease (if any source code was changed) - [x] Appropriate docs were updated (if necessary)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: pubsub
Issues related to the googleapis/python-pubsub API.
samples
Issues that are directly related to samples.
type: docs
Improvement to the documentation for an API.
Add type hints so setting "enforce_type_hints" to
True
won't cause lint failures.python-pubsub/samples/snippets/noxfile_config.py
Lines 26 to 28 in 2584147
The text was updated successfully, but these errors were encountered: