-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove None & NoneType from parameter types in docstrings. #2584
Conversation
This runs a script to remove None from the types for parameters, and added (Optional) to the description. Does not pass lint due to some too-long lines. I will clean those up manually. See: googleapis#2580 (review)
It looks like there was a mistake in copy-pasting parameter documentation. All the descriptions were for the expiration time.
Mostly, lines that were too long.
@dhermes Okay to merge? Travis looks happy. |
@tswast Am I crazy:
|
Not crazy, I noticed a few, too, since sending that PR. Most are |
Ouch, I see some lines like |
No worries, at least we made it some of the way to the finish line? |
Yeah 407 lines of progress. :-) |
Remove None & NoneType from parameter types in docstrings.
Remove None & NoneType from parameter types in docstrings.
Based on comment: #2580 (review)
Uses this script:
https://gist.github.com/tswast/fa8bd1cbdf84e0777109d217c2271622
I manually adjusted whitespace to fix lint errors.