Skip to content

Commit

Permalink
PEP8 line length change
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordonei committed Jul 2, 2024
1 parent bd16121 commit d845440
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/coct-create-sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def validate_hex_string(value):
parser.add_argument('-e', '--email', type=str, required=True,
help='Email of the reporter')
parser.add_argument('-c', '--comm', type=str, required=True, choices=["EMAIL", "SMS", "NONE"],
help='Communication preference of the reporter. EMAIL refers to email, SMS refers to SMS, and NONE refers to well, none')
help='Communication preference of the reporter. '
'EMAIL refers to email, SMS refers to SMS, and NONE refers to well, no preference')
parser.add_argument('-sn', '--street-number', type=str, required=True,
help='Street number of the service request.')
parser.add_argument('-str', '--street', type=str, required=True,
Expand All @@ -71,7 +72,6 @@ def validate_hex_string(value):
sr_args = vars(args).copy()
for key in ["verbose", "public_key", "private_key"]:
del sr_args[key]
sr_args['username'] = "" # unused arg in API spec

request_attrs = RequestAttributesSchema(**sr_args)
logger.debug(f'Received arguments: {args.public_key=}, args.private_key="{"*" * len(args.private_key)}"')
Expand Down

0 comments on commit d845440

Please sign in to comment.