ยปCore Development>Code coverage>Tools/scripts/reindent-rst.py

Python code coverage for Tools/scripts/reindent-rst.py

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