mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Run flake8
This commit is contained in:
parent
eeb25c5e1e
commit
9c5df4452d
2 changed files with 2 additions and 4 deletions
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"name": "victor"
|
|
||||||
}
|
|
||||||
|
|
@ -116,7 +116,8 @@ def main(argv: Sequence[str] | None = None) -> int:
|
||||||
try:
|
try:
|
||||||
pretty_contents = _get_pretty_format(
|
pretty_contents = _get_pretty_format(
|
||||||
contents, args.indent, ensure_ascii=not args.no_ensure_ascii,
|
contents, args.indent, ensure_ascii=not args.no_ensure_ascii,
|
||||||
sort_keys=not args.no_sort_keys, top_keys=args.top_keys, new_line=not args.no_new_line,
|
sort_keys=not args.no_sort_keys, top_keys=args.top_keys,
|
||||||
|
new_line=not args.no_new_line,
|
||||||
)
|
)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
print(
|
print(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue