Skip to content

Commit

Permalink
use imperative mood in internal docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
mjurbanski-reef committed Nov 22, 2023
1 parent 2796baf commit 31f6878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion b2/_cli/argcompleters.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def file_name_completer(api: B2Api, parsed_args, **kwargs):
@_with_api
def b2uri_file_completer(api: B2Api, prefix: str, **kwargs):
"""
Completes B2 URI pointing to a file-like object in a bucket.
Complete B2 URI pointing to a file-like object in a bucket.
"""
if prefix.startswith('b2://'):
prefix_without_scheme = removeprefix(prefix, 'b2://')
Expand Down
2 changes: 1 addition & 1 deletion b2/_cli/b2args.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def b2_file_uri(value: str) -> B2URIBase:

def add_b2_file_argument(parser: argparse.ArgumentParser, name="B2_URI"):
"""
Add an argument to the parser that must be a B2 URI pointing to a file.
Add a B2 URI pointing to a file as an argument to the parser.
"""
parser.add_argument(
name,
Expand Down

0 comments on commit 31f6878

Please sign in to comment.