We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ab5945 commit c8440f3Copy full SHA for c8440f3
mesop/pip_package/deterministic_tar_gz.py
@@ -66,7 +66,7 @@ def main():
66
fd = os.open(archive, os.O_WRONLY | os.O_CREAT, 0o644)
67
with os.fdopen(fd, "wb") as out_file, gzip.GzipFile(
68
"wb", fileobj=out_file, mtime=0
69
- ) as gzip_file, tarfile.open(fileobj=gzip_file, mode="w:") as tar_file:
+ ) as gzip_file, tarfile.open(fileobj=gzip_file, mode="w:") as tar_file: # type: ignore
70
for f in files:
71
arcname = os.path.basename(f)
72
tar_file.add(f, filter=cleanse, recursive=False, arcname=arcname)
0 commit comments