Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 4ca565580c2e3a19cda31169d5199de764651f28 authored by Georg Brandl on 27 January 2014, 07:24:02 UTC
Remove old tag.
Tip revision: 4ca5655
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