Merge pull request #3586 from pre-commit/zipapp-sha256-file-not-needed
Some checks failed
languages / vars (push) Has been cancelled
main / main-windows (push) Has been cancelled
main / main-linux (push) Has been cancelled
languages / language (push) Has been cancelled
languages / collector (push) Has been cancelled

remove sha256 file from zipapp script
This commit is contained in:
anthony sottile 2025-11-22 16:15:39 -05:00 committed by GitHub
commit fd42f96874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,9 +107,6 @@ def main() -> int:
shebang = '/usr/bin/env python3'
zipapp.create_archive(tmpdir, filename, interpreter=shebang)
with open(f'{filename}.sha256sum', 'w') as f:
subprocess.check_call(('sha256sum', filename), stdout=f)
return 0