Skip to content

Commit

Permalink
Update noxfile template, add comment explaining why 3.6 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox authored and busunkim96 committed Feb 19, 2019
1 parent 3c504a3 commit 2ad4ee7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion synthtool/gcp/templates/python_library/noxfile.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ def lint(session):
session.run("flake8", "google", "tests")


@nox.session(python="3.7")
@nox.session(python="3.6")
def blacken(session):
"""Run black.

Format code to uniform standard.

This currently uses Python 3.6 due to the automated Kokoro run of synthtool.
That run uses an image that doesn't have 3.6 installed. Before updating this
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
"""
session.install("black")
session.run(
Expand Down

0 comments on commit 2ad4ee7

Please sign in to comment.