Skip to content

Commit 069de8c

Browse files
committed
linting
1 parent f14fd24 commit 069de8c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

buisciii/__main__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ def setup_automatic_logging(service_path, resolution_id, command_name, conf):
140140
try:
141141
# Path verification
142142
if command_name == "new_service" and not os.path.exists(service_path):
143-
stderr.print(f"[red]Service path does not exist: {service_path}! Please check the service folder was created correctly.")
143+
stderr.print(
144+
f"[red]Service path does not exist: {service_path}! Please check the service folder was created correctly."
145+
)
144146
sys.exit(1)
145147

146148
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
@@ -627,7 +629,7 @@ def finish(ctx, resolution, path, ask_path, sftp_folder, tmp_dir):
627629
"""
628630
if resolution is None:
629631
resolution = buisciii.utils.prompt_resolution_id()
630-
632+
631633
debug = ctx.obj.get("debug", False)
632634
try:
633635
clean_tmp_dir = tmp_dir
@@ -667,7 +669,11 @@ def finish(ctx, resolution, path, ask_path, sftp_folder, tmp_dir):
667669
ctx.obj["conf"],
668670
)
669671
clean_scratch.handle_clean()
670-
print("Starting copy from scratch directory: " + tmp_dir + " to service directory.")
672+
print(
673+
"Starting copy from scratch directory: "
674+
+ tmp_dir
675+
+ " to service directory."
676+
)
671677
copy_scratch2service = buisciii.scratch.Scratch(
672678
resolution,
673679
path,

0 commit comments

Comments
 (0)