mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 00:24:47 +04: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
47d0e05d09
commit
6ce60ed606
2 changed files with 4 additions and 4 deletions
|
|
@ -189,8 +189,8 @@ def _run_single_hook(
|
|||
if not hook.pass_filenames:
|
||||
filenames = ()
|
||||
elif hook.use_filesnames_file:
|
||||
filenames_file = tempfile.NamedTemporaryFile("w+")
|
||||
filenames_file.write("\n".join(filenames))
|
||||
filenames_file = tempfile.NamedTemporaryFile('w+')
|
||||
filenames_file.write('\n'.join(filenames))
|
||||
filenames = (f"@{filenames_file}",)
|
||||
|
||||
time_before = time.monotonic()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue