You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
278 B
15 lines
278 B
4 months ago
|
#!/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())
|