cpython/Tools/scripts/reindent-rst.py

15 lines
279 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
# Make a reST file compliant to our pre-commit hook.
# Currently just remove trailing whitespace.
import sys
2009-03-31 19:46:50 -03:00
import patchcheck
def main(argv=sys.argv):
patchcheck.normalize_docs_whitespace(argv[1:])
if __name__ == '__main__':
sys.exit(main())