Skip to content

Commit c8440f3

Browse files
committed
Type ignore in deterministic_tar_gz.py (vendored script)
1 parent 1ab5945 commit c8440f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesop/pip_package/deterministic_tar_gz.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def main():
6666
fd = os.open(archive, os.O_WRONLY | os.O_CREAT, 0o644)
6767
with os.fdopen(fd, "wb") as out_file, gzip.GzipFile(
6868
"wb", fileobj=out_file, mtime=0
69-
) as gzip_file, tarfile.open(fileobj=gzip_file, mode="w:") as tar_file:
69+
) as gzip_file, tarfile.open(fileobj=gzip_file, mode="w:") as tar_file: # type: ignore
7070
for f in files:
7171
arcname = os.path.basename(f)
7272
tar_file.add(f, filter=cleanse, recursive=False, arcname=arcname)

0 commit comments

Comments
 (0)