Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c29c82e

Browse files
yoshi-automationtseaver
authored andcommitted
Pin black version (via synth). (#8589)
1 parent 4f723e4 commit c29c82e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

packages/google-cloud-os-login/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

packages/google-cloud-os-login/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-06-28T12:29:36.850307Z",
2+
"updateTime": "2019-07-03T12:32:43.326653Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.29.2",
8-
"dockerImage": "googleapis/artman@sha256:45263333b058a4b3c26a8b7680a2710f43eae3d250f791a6cb66423991dcb2df"
7+
"version": "0.29.3",
8+
"dockerImage": "googleapis/artman@sha256:8900f94a81adaab0238965aa8a7b3648791f4f3a95ee65adc6a56cfcc3753101"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "84c8ad4e52f8eec8f08a60636cfa597b86969b5c",
16-
"internalRef": "255474859"
15+
"sha": "69916b6ffbb7717fa009033351777d0c9909fb79",
16+
"internalRef": "256241904"
1717
}
1818
},
1919
{

0 commit comments

Comments
 (0)