mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
0c4c56ff39
README.cosmo contains the necessary links.
14 lines
279 B
Python
Executable file
14 lines
279 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
# Make a reST file compliant to our pre-commit hook.
|
|
# Currently just remove trailing whitespace.
|
|
|
|
import sys
|
|
|
|
import patchcheck
|
|
|
|
def main(argv=sys.argv):
|
|
patchcheck.normalize_docs_whitespace(argv[1:])
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(main())
|