Skip to content

Commit cfb02e9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d03a199 commit cfb02e9

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

misc/perf_compare.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def main() -> None:
102102
parser = argparse.ArgumentParser(
103103
formatter_class=argparse.RawDescriptionHelpFormatter,
104104
description=__doc__,
105-
epilog="Remember: you usually want the first argument to this command to be 'master'."
105+
epilog="Remember: you usually want the first argument to this command to be 'master'.",
106106
)
107107
parser.add_argument(
108108
"--incremental",
@@ -115,7 +115,7 @@ def main() -> None:
115115
default=False,
116116
action="store_true",
117117
help="don't make the clones or compile mypy, just run the performance measurement benchmark "
118-
+ "(this will fail unless the clones already exist, such as from a previous run that was canceled before it deleted them)",
118+
+ "(this will fail unless the clones already exist, such as from a previous run that was canceled before it deleted them)",
119119
)
120120
parser.add_argument(
121121
"--num-runs",
@@ -147,7 +147,11 @@ def main() -> None:
147147
type=str,
148148
help="measure time to type check Python code fragment instead of mypy self-check",
149149
)
150-
parser.add_argument("commit", nargs="+", help="git revision(s), e.g. branch name or commit id, to measure the performance of")
150+
parser.add_argument(
151+
"commit",
152+
nargs="+",
153+
help="git revision(s), e.g. branch name or commit id, to measure the performance of",
154+
)
151155
args = parser.parse_args()
152156
incremental: bool = args.incremental
153157
dont_setup: bool = args.dont_setup

0 commit comments

Comments
 (0)