Skip to content

Commit 485d855

Browse files
committed
update goldens
1 parent 74bf787 commit 485d855

File tree

7 files changed

+28
-21
lines changed

7 files changed

+28
-21
lines changed

tests/integration/goldens/asset/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

tests/integration/goldens/credentials/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

tests/integration/goldens/logging/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

tests/integration/goldens/redis/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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.
@@ -166,7 +167,7 @@ def blacken(session):
166167
session.install(BLACK_VERSION)
167168
session.run(
168169
"black",
169-
*LINT_PATHS,
170+
*FORMAT_PATHS,
170171
)
171172

172173

@@ -182,11 +183,11 @@ def format(session):
182183
session.run(
183184
"isort",
184185
"--fss",
185-
*LINT_PATHS,
186+
*FORMAT_PATHS,
186187
)
187188
session.run(
188189
"black",
189-
*LINT_PATHS,
190+
*FORMAT_PATHS,
190191
)
191192

192193

0 commit comments

Comments
 (0)