Staging
v0.5.1
Revision 1fae982b9b6fff5a987a69856b91339e5d023838 authored by Benjamin Peterson on 25 June 2016, 21:03:21 UTC, committed by Benjamin Peterson on 25 June 2016, 21:03:21 UTC
1 parent 95d9555
Raw File
reindent-rst.py
#!/usr/bin/env python

# 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