Skip to content

Commit 7a1f06e

Browse files
gcf-owl-bot[bot]dandhlee
authored andcommitted
feat: add Samples section to CONTRIBUTING.rst (#134)
Source-Link: googleapis/synthtool@52e4e46 Post-Processor: gcr.io/repo-automation-bots/owlbot-python:latest@sha256:6186535cbdbf6b9fe61f00294929221d060634dae4a0795c1cefdbc995b2d605
1 parent 97aeeb6 commit 7a1f06e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

talent/noxfile.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
# WARNING - WARNING - WARNING - WARNING - WARNING
2929
# WARNING - WARNING - WARNING - WARNING - WARNING
3030

31-
# Copy `noxfile_config.py` to your directory and modify it instead.
31+
BLACK_VERSION = "black==19.10b0"
3232

33+
# Copy `noxfile_config.py` to your directory and modify it instead.
3334

3435
# `TEST_CONFIG` dict is a configuration hook that allows users to
3536
# modify the test configurations. The values here should be in sync
@@ -159,7 +160,7 @@ def lint(session: nox.sessions.Session) -> None:
159160

160161
@nox.session
161162
def blacken(session: nox.sessions.Session) -> None:
162-
session.install("black")
163+
session.install(BLACK_VERSION)
163164
python_files = [path for path in os.listdir(".") if path.endswith(".py")]
164165

165166
session.run("black", *python_files)

0 commit comments

Comments
 (0)