-
Notifications
You must be signed in to change notification settings - Fork 84
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
chore: add noxfile parameters for extra dependencies #906
Conversation
Also, add tests for some noxfile parameters for assurance that the template generates valid Python.
t = templates.Templates(PYTHON_LIBRARY) | ||
result = t.render("noxfile.py.j2", **template_kwargs,).read_text() | ||
# Validate Python syntax. | ||
result_code = compile(result, "noxfile.py", "exec") |
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.
TIL about the compile()
function. Thanks for adding these tests!
In addition to the unit tests, I've tried these new parameters out here: googleapis/python-bigquery-storage#118 |
Tim, Bu Sun approved, so please merge at your earliest convenience. |
@SurferJeffAtGoogle It looks like Bu Sun isn't in CODEOWNERS. I can't merge. |
Approved!
…On Tue, Jan 26, 2021 at 9:48 AM Tim Swast ***@***.***> wrote:
@SurferJeffAtGoogle <https://github.com/SurferJeffAtGoogle> It looks like
Bu Sun isn't in CODEOWNERS. I can't merge.
[image: image]
<https://user-images.githubusercontent.com/247555/105883327-580ac500-5fcc-11eb-989c-6ff4a68acbe7.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#906 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACZ3TYTVWHE3M65DSNZ4IBDS3356PANCNFSM4WEKVUNA>
.
|
Also, add tests for some noxfile parameters for assurance that the
template generates valid Python.
Fixes #838