diff --git a/pre_commit/commands/run.py b/pre_commit/commands/run.py index b1d2ee13..ab401798 100644 --- a/pre_commit/commands/run.py +++ b/pre_commit/commands/run.py @@ -11,7 +11,6 @@ import re import subprocess import time import unicodedata - from typing import Any from typing import Collection from typing import MutableMapping @@ -314,7 +313,7 @@ def _run_hooks( )) if args.summary_json_output_file: fn = pathlib.Path(args.summary_json_output_file).expanduser().resolve() - with open(fn,'w') as f: + with open(fn, 'w') as f: f.write(json.dumps(classifier.summary_json)) return retval diff --git a/pre_commit/main.py b/pre_commit/main.py index 47b09902..d2b14326 100644 --- a/pre_commit/main.py +++ b/pre_commit/main.py @@ -156,7 +156,7 @@ def _add_run_options(parser: argparse.ArgumentParser) -> None: ) parser.add_argument( '--summary-json-output-file', - help='Write summary information to a json file.' + help='Write summary information to a json file.', )