From 1b8f84941c3ca28fc6590ccc907228b8afded8c6 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 30 Nov 2016 14:26:35 +0100 Subject: * coding standards and formatting --- elo.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'elo.py') diff --git a/elo.py b/elo.py index 743ee4e..ed0a2f8 100755 --- a/elo.py +++ b/elo.py @@ -10,12 +10,14 @@ parser = argparse.ArgumentParser( formatter_class=argparse.RawTextHelpFormatter) parser.add_argument('command', metavar='COMMAND', nargs='?', help="Action to execute against the database:\n" - "print - prints the rankings for all drivers ranked in 12 months,\n" + "print - prints the rankings for all drivers ranked " + "in 12 months,\n" "reset - resets the rankings,\n" "rate - calculates the rankings\n" "init - init clean database for the application\n" "Default value is 'print'.", - default='print', choices=['print', 'rate', 'reset', 'init']) + default='print', + choices=['print', 'rate', 'reset', 'init']) parser.add_argument('--date', help='Date for which the action should be executed.\n' 'Print ratings for DATE,\n' @@ -23,17 +25,17 @@ parser.add_argument('--date', 'or rank the races all the way up to DATE.') parser.add_argument( '--limit', - help='Ranking list (display) cut-off point.', - type=int) + help='Ranking list (display) cut-off point.', + type=int) parser.add_argument( '-v', - help='Display verbose info on rating progress to STDERR.', - action='store_true') + help='Display verbose info on rating progress to STDERR.', + action='store_true') parser.add_argument( '--force', - '-f', - help='Force database initialization (for "init" command).', - action='store_true') + '-f', + help='Force database initialization (for "init" command).', + action='store_true') arguments = parser.parse_args() -- cgit v1.2.3