Skip to content

Commit

Permalink
[qa] Updated Arguement to Argument openwisp#20
Browse files Browse the repository at this point in the history
  • Loading branch information
ppabcd committed Nov 27, 2018
1 parent c024163 commit 927355d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openwisp_utils/qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

def _parse_args():
"""
Parse and return CLI arguements
Parse and return CLI arguments
"""
parser = argparse.ArgumentParser(description="Ensures migration files "
"created have a descriptive name. If "
Expand Down Expand Up @@ -55,7 +55,7 @@ def check_migration_name():

def _commit_check_args():
"""
Parse and return CLI arguements
Parse and return CLI arguments
"""
parser = argparse.ArgumentParser(description="Ensures migration files "
"created have a descriptive name. If "
Expand All @@ -69,7 +69,7 @@ def _commit_check_args():
def check_commit_message():
args = _commit_check_args()
if not args.message:
raise Exception("CLI arguement `message` is required "
raise Exception("CLI argument `message` is required "
"but not found")
else:
short_desc = args.message.split("\n")[0]
Expand Down

0 comments on commit 927355d

Please sign in to comment.