Skip to content

Commit 240d1d2

Browse files
authored
chore: use 3.8 for blacken session (#653)
The Autosynth build now has 3.8: googleapis/synthtool@fd33d7d#diff-f80f936e0eac73417c05535c764a44906afd70a37096ea3c58934a9f6f1e7fcd Should fix unexpected style in #651
1 parent e24d47e commit 240d1d2

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

noxfile.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,15 +257,12 @@ def lint_setup_py(session):
257257
session.run("python", "setup.py", "check", "--restructuredtext", "--strict")
258258

259259

260-
@nox.session(python="3.6")
260+
@nox.session(python=DEFAULT_PYTHON_VERSION)
261261
def blacken(session):
262262
"""Run black.
263263
Format code to uniform standard.
264-
265-
This currently uses Python 3.6 due to the automated Kokoro run of synthtool.
266-
That run uses an image that doesn't have 3.6 installed. Before updating this
267-
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
268264
"""
265+
269266
session.install(BLACK_VERSION)
270267
session.run("black", *BLACK_PATHS)
271268

0 commit comments

Comments
 (0)