[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-02-22 17:22:08 +00:00
parent 9fd260feb1
commit 74cf70340e
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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.',
)