Skip to content

Commit c0a10c6

Browse files
Fix lint
1 parent 317e49b commit c0a10c6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

linodecli/plugins/obj/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,8 @@ def call(
361361
# we can't do anything - ask for an install
362362
print(
363363
"This plugin requires the 'boto3' module. Please install it by running "
364-
"'pip3 install boto3' or 'pip install boto3'", file=sys.stderr,
364+
"'pip3 install boto3' or 'pip install boto3'",
365+
file=sys.stderr,
365366
)
366367

367368
sys.exit(

linodecli/plugins/obj/objects.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ def upload_object(
8181
for f in files:
8282
file_path = Path(f).resolve()
8383
if not file_path.is_file():
84-
print(f"Error: '{file_path}' is not a valid file or does not exist.", file=sys.stderr)
84+
print(
85+
f"Error: '{file_path}' is not a valid file or does not exist.",
86+
file=sys.stderr,
87+
)
8588
sys.exit(ExitCodes.FILE_ERROR)
8689

8790
to_upload.append(file_path)
@@ -176,7 +179,8 @@ def get_object(
176179
# In the future we should allow the automatic creation of parent directories
177180
if not destination_parent.exists():
178181
print(
179-
f"ERROR: Output directory {destination_parent} does not exist locally.", file=sys.stderr
182+
f"ERROR: Output directory {destination_parent} does not exist locally.",
183+
file=sys.stderr,
180184
)
181185
sys.exit(ExitCodes.REQUEST_FAILED)
182186

0 commit comments

Comments
 (0)