mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
remove unused type ignore
This commit is contained in:
parent
46de4da34e
commit
0de4c8028a
1 changed files with 1 additions and 2 deletions
|
|
@ -57,8 +57,7 @@ def make_archive(name: str, repo: str, ref: str, destdir: str) -> str:
|
|||
arcs.sort()
|
||||
|
||||
with gzip.GzipFile(output_path, 'wb', mtime=0) as gzipf:
|
||||
# https://github.com/python/typeshed/issues/5491
|
||||
with tarfile.open(fileobj=gzipf, mode='w') as tf: # type: ignore
|
||||
with tarfile.open(fileobj=gzipf, mode='w') as tf:
|
||||
for arcname, abspath in arcs:
|
||||
tf.add(
|
||||
abspath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue