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