Skip to content

Commit 5b3014b

Browse files
committed
Ruff format
1 parent 1e90caf commit 5b3014b

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

ctf/deploy.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,14 @@ def deploy(
157157
)
158158

159159
if (
160-
input("Do you want to clean and start over? [Y/n] ").lower() or "y"
160+
input("Do you want to clean and start over? [Y/n] ").lower()
161+
or "y"
161162
) != "y":
162163
exit(code=1)
163164

164-
destroy(tracks=tracks, production=production, remote=remote, force=True)
165+
destroy(
166+
tracks=tracks, production=production, remote=remote, force=True
167+
)
165168

166169
distinct_tracks = generate(
167170
tracks=tracks, production=production, remote=remote
@@ -176,7 +179,9 @@ def deploy(
176179
LOG.warning(
177180
"CTRL+C was detected during Terraform deployment. Destroying everything..."
178181
)
179-
destroy(tracks=tracks, production=production, remote=remote, force=True)
182+
destroy(
183+
tracks=tracks, production=production, remote=remote, force=True
184+
)
180185
exit(code=0)
181186

182187
if not os.path.exists(

0 commit comments

Comments
 (0)