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