Skip to content

Commit e9f391d

Browse files
committed
format argparse arguments enclosing brackets to standard
1 parent be5b051 commit e9f391d

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

mno_analysis_tools/compute_window_of_downtime.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,17 @@
1414
parser = argparse.ArgumentParser(
1515
description="Compute maximum window of time with 0 messages")
1616
parser.add_argument("raw_messages_file_path", metavar="input-file",
17-
help="File to read the raw data downloaded as json",
18-
)
17+
help="File to read the raw data downloaded as json")
1918
parser.add_argument("window_of_downtimes_output_file_path", metavar="output-file",
20-
help="File to write the raw data downloaded as json.",
21-
)
19+
help="File to write the raw data downloaded as json.")
2220
parser.add_argument("target_operator", metavar="operator",
23-
help="Operator to analyze for downtime",
24-
)
21+
help="Operator to analyze for downtime")
2522
parser.add_argument("target_message_direction", metavar="direction-of-message", choices=('in', 'out'),
26-
help="Direction of messages to limit the search for downtime to"
27-
)
23+
help="Direction of messages to limit the search for downtime to")
2824
parser.add_argument("start_date", metavar="start-date", type=lambda s: isoparse(s),
29-
help="The start date as ISO 8601 string from which the window of downtime will be computed",
30-
)
25+
help="The start date as ISO 8601 string from which the window of downtime will be computed")
3126
parser.add_argument("end_date", metavar="end-date", type=lambda s: isoparse(s),
32-
help="The end date as ISO 8601 string to which the window of downtime computation will end",
33-
)
27+
help="The end date as ISO 8601 string to which the window of downtime computation will end")
3428

3529
args = parser.parse_args()
3630

0 commit comments

Comments
 (0)