historical/toontown-classic.git/panda/python/Tools/Scripts/reindent-rst.py

15 lines
278 B
Python
Raw Normal View History

2024-01-16 11:20:27 -06:00
#!/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())