Skip to content

Commit 112349d

Browse files
committed
update goldens
1 parent 3698497 commit 112349d

File tree

7 files changed

+35
-21
lines changed

7 files changed

+35
-21
lines changed

tests/integration/goldens/asset/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

tests/integration/goldens/credentials/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

tests/integration/goldens/logging/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

tests/integration/goldens/redis/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29+
FORMAT_PATHS = ["docs", "google", "tests", "setup.py"]
2930
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3031

3132
# Add samples to the list of directories to format if the directory exists.
3233
if os.path.isdir("samples"):
3334
LINT_PATHS.append("samples")
35+
FORMAT_PATHS.append("samples")
3436

3537
ALL_PYTHON = [
3638
"3.7",
@@ -166,7 +168,7 @@ def blacken(session):
166168
session.install(BLACK_VERSION)
167169
session.run(
168170
"black",
169-
*LINT_PATHS,
171+
*FORMAT_PATHS,
170172
)
171173

172174

@@ -182,11 +184,11 @@ def format(session):
182184
session.run(
183185
"isort",
184186
"--fss",
185-
*LINT_PATHS,
187+
*FORMAT_PATHS,
186188
)
187189
session.run(
188190
"black",
189-
*LINT_PATHS,
191+
*FORMAT_PATHS,
190192
)
191193

192194

0 commit comments

Comments
 (0)