Skip to content

Commit efd2e53

Browse files
yoshi-automationbusunkim96
authored andcommitted
chore(bigquery): use 3.6 for blacken session (#10012)
* [CHANGE ME] Re-generated bigquery to pick up changes in the API or client library generator. * chore: use 3.6 for blacken session * chore: blacken * chore: add comment about why 3.6 is used * chore: revert changes to metadata Co-authored-by: Bu Sun Kim <[email protected]>
1 parent 21e4ff3 commit efd2e53

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

bigquery/noxfile.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,14 @@ def lint_setup_py(session):
175175
session.run("python", "setup.py", "check", "--restructuredtext", "--strict")
176176

177177

178-
@nox.session(python="3.7")
178+
@nox.session(python="3.6")
179179
def blacken(session):
180180
"""Run black.
181181
Format code to uniform standard.
182+
183+
This currently uses Python 3.6 due to the automated Kokoro run of synthtool.
184+
That run uses an image that doesn't have 3.6 installed. Before updating this
185+
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
182186
"""
183187
session.install("black")
184188
session.run("black", *BLACK_PATHS)

0 commit comments

Comments
 (0)