1 #!/usr/bin/env python 2 3 # Make a reST file compliant to our pre-commit hook. 4 # Currently just remove trailing whitespace. 5 6 import sys 7 8 import patchcheck 9 10 def main(argv=sys.argv): 11 patchcheck.normalize_docs_whitespace(argv[1:]) 12 13 if __name__ == '__main__': 14 sys.exit(main()) 15