mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 09:04:41 +04:00
upgrade hooks, pyupgrade pre-commit
This commit is contained in:
parent
764c765d29
commit
30c1e8289f
91 changed files with 176 additions and 437 deletions
|
|
@ -1,6 +1,3 @@
|
|||
from __future__ import absolute_import
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import tarfile
|
||||
|
||||
from pre_commit import git
|
||||
|
|
@ -46,4 +43,4 @@ def test_main(tmpdir):
|
|||
make_archives.main(('--dest', tmpdir.strpath))
|
||||
|
||||
for archive, _, _ in make_archives.REPOS:
|
||||
assert tmpdir.join('{}.tar.gz'.format(archive)).exists()
|
||||
assert tmpdir.join(f'{archive}.tar.gz').exists()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue