mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-12 05:54:18 +00: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
4842364696
commit
a455566742
3 changed files with 12 additions and 11 deletions
|
|
@ -44,7 +44,7 @@ def test_fix_file(input_s, expected_retval, output, options):
|
|||
options = [options]
|
||||
|
||||
file_obj = io.BytesIO(input_s)
|
||||
ret = fix_file(file_obj, "--check" in [*options])
|
||||
ret = fix_file(file_obj, '--check' in [*options])
|
||||
assert file_obj.getvalue() == output
|
||||
assert ret == expected_retval
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue