mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2025-08-14 17:31:28 +08:00
Remove useless newline
This commit is contained in:
@ -129,7 +129,10 @@ def main(argv=None): # type: (Optional[Sequence[str]]) -> int
|
||||
if args.autofix:
|
||||
_autofix(json_file, pretty_contents)
|
||||
else:
|
||||
print(get_diff(contents, pretty_contents, json_file))
|
||||
print(
|
||||
get_diff(contents, pretty_contents, json_file),
|
||||
end='',
|
||||
)
|
||||
|
||||
status = 1
|
||||
except ValueError:
|
||||
|
Reference in New Issue
Block a user