Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd42f96

Browse files
authored
Merge pull request #3586 from pre-commit/zipapp-sha256-file-not-needed
remove sha256 file from zipapp script
2 parents 1af6c8f + 8ea2b79 commit fd42f96

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

testing/zipapp/make

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ def main() -> int:
107107
shebang = '/usr/bin/env python3'
108108
zipapp.create_archive(tmpdir, filename, interpreter=shebang)
109109

110-
with open(f'{filename}.sha256sum', 'w') as f:
111-
subprocess.check_call(('sha256sum', filename), stdout=f)
112-
113110
return 0
114111

115112

0 commit comments

Comments
 (0)