Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zliang-akamai committed Aug 2, 2023
1 parent 5fe140e commit 4ba10e2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion linodecli/plugins/obj/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@


def add_all_rows_arg(parser: ArgumentParser):
"""
Adding the --all-rows flag to the arguments parser
"""
parser.add_argument(
"--all-rows",
action="store_true",
Expand All @@ -86,13 +89,16 @@ def add_all_rows_arg(parser: ArgumentParser):


def warn(parsed, msg: str):
"""
Print warning if not suppressed
"""
if not parsed.suppress_warnings:
print(msg)


def list_objects_or_buckets(
get_client, args, **kwargs
): # pylint: disable=too-many-locals,unused-argument
): # pylint: disable=too-many-locals,unused-argument,too-many-branches
"""
Lists buckets or objects
"""
Expand Down

0 comments on commit 4ba10e2

Please sign in to comment.