mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Use asottile/add-trailing-comma
This commit is contained in:
parent
1a07a24d13
commit
0c70fa4229
32 changed files with 74 additions and 70 deletions
|
|
@ -124,7 +124,7 @@ class CalledProcessError(RuntimeError):
|
|||
if maybe_text:
|
||||
output.append(
|
||||
b'\n ' +
|
||||
five.to_bytes(maybe_text).replace(b'\n', b'\n ')
|
||||
five.to_bytes(maybe_text).replace(b'\n', b'\n '),
|
||||
)
|
||||
else:
|
||||
output.append(b'(none)')
|
||||
|
|
@ -134,8 +134,8 @@ class CalledProcessError(RuntimeError):
|
|||
'Command: {!r}\n'
|
||||
'Return code: {}\n'
|
||||
'Expected return code: {}\n'.format(
|
||||
self.cmd, self.returncode, self.expected_returncode
|
||||
)
|
||||
self.cmd, self.returncode, self.expected_returncode,
|
||||
),
|
||||
),
|
||||
b'Output: ', output[0], b'\n',
|
||||
b'Errors: ', output[1], b'\n',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue