mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-29 12:28:44 -06:00
More miscellaneous cleanup
This commit is contained in:
@@ -18,6 +18,6 @@ def run_hook(
|
||||
file_args: Sequence[str],
|
||||
color: bool,
|
||||
) -> Tuple[int, bytes]:
|
||||
out = hook.entry.encode() + b'\n\n'
|
||||
out = f'{hook.entry}\n\n'.encode()
|
||||
out += b'\n'.join(f.encode() for f in file_args) + b'\n'
|
||||
return 1, out
|
||||
|
||||
Reference in New Issue
Block a user