mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
9fd260feb1
commit
74cf70340e
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.',
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue