Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 627d0c61ac96009450e3794a2401f244e56fcb79 authored by Larry Hastings on 02 August 2018, 09:19:12 UTC
Version bump for 3.5.6 final.
Tip revision: 627d0c6
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