Skip to content

Commit

Permalink
Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
qubixes committed Nov 29, 2024
1 parent aaa30d0 commit 852862f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ibridges/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@



def main() -> None:
def main() -> None: #pylint: disable=too-many-branches
"""CLI pointing to different entrypoints."""
# ensure .irods folder
irods_loc = Path.home() / ".irods"
Expand Down Expand Up @@ -436,7 +436,8 @@ def ibridges_meta_del():
if args.ignore_blacklist:
meta.blacklist = None
if args.key is ... and args.value is ... and args.units is ...:
answer = input("This command will delete all metadata for path {ipath}, are you sure? [y/n]")
answer = input("This command will delete all metadata for path {ipath},"
" are you sure? [y/n]")
if answer.lower() != "y":
return
meta.delete(args.key, args.value, args.units)
Expand Down

0 comments on commit 852862f

Please sign in to comment.