Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f5caf2b30bfe70e5107f816c9e7f7fe3ef5299d9 authored by Larry Hastings on 25 February 2015, 12:15:33 UTC
Checking in this change LOCAL ONLY NO UPLOAD ANYWHERE
Tip revision: f5caf2b
reindent-rst.py
#!/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())
back to top