Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit be70306

Browse files
yoshi-automationtseaver
authored andcommitted
Pin black version. (via synth). (#8672)
1 parent 01d3bcc commit be70306

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
LOCAL_DEPS = (os.path.join("..", "api_core"), os.path.join("..", "core"))
27-
27+
BLACK_VERSION = "black==19.3b0"
2828
BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
2929

3030
if os.path.exists("samples"):
@@ -38,7 +38,7 @@ def lint(session):
3838
Returns a failure if the linters find linting errors or sufficiently
3939
serious code quality issues.
4040
"""
41-
session.install("flake8", "black", *LOCAL_DEPS)
41+
session.install("flake8", BLACK_VERSION, *LOCAL_DEPS)
4242
session.run("black", "--check", *BLACK_PATHS)
4343
session.run("flake8", "google", "tests")
4444

@@ -53,7 +53,7 @@ def blacken(session):
5353
That run uses an image that doesn't have 3.6 installed. Before updating this
5454
check the state of the `gcp_ubuntu_config` we use for that Kokoro run.
5555
"""
56-
session.install("black")
56+
session.install(BLACK_VERSION)
5757
session.run("black", *BLACK_PATHS)
5858

5959

synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updateTime": "2019-07-12T17:29:48.986574Z",
2+
"updateTime": "2019-07-13T12:13:02.277005Z",
33
"sources": [
44
{
55
"generator": {
@@ -11,7 +11,7 @@
1111
{
1212
"git": {
1313
"name": "googleapis",
14-
"remote": "git@github.com:googleapis/googleapis.git",
14+
"remote": "https://github.com/googleapis/googleapis.git",
1515
"sha": "47bd0c2ba33c28dd624a65dad382e02bb61d1618",
1616
"internalRef": "257690259"
1717
}

0 commit comments

Comments
 (0)