Skip to content

Commit

Permalink
scripts: codeowners: Disable abbreviations from argparser
Browse files Browse the repository at this point in the history
Long options shouldn't be abbreviated even if unique, fixes a gitlint
warning.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
  • Loading branch information
krish2718 authored and carlescufi committed Aug 22, 2023
1 parent 7434fd1 commit dc13406
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/codeowners.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def init_logs(cli_arg):
def parse_args():
default_range = 'HEAD~1..HEAD'
parser = argparse.ArgumentParser(
allow_abbrev=False,
description="Check for CODEOWNERS file ownership.")
parser.add_argument('-c', '--commits', default=default_range,
help=f'''Commit range in the form: a..[b], default is
Expand Down

0 comments on commit dc13406

Please sign in to comment.