/
githubmirror
/
cpython
Обзор
Документация
Войти
/
githubmirror
/
cpython
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
3.9
Tools/scripts/reindent-rst.py
14 строк
279 B
Éric Araujo
Fix missing or wrong shebangs and missing executable bits for scripts (#10318)
26 июл 2011, 20:01
26 июл 2011, 20:01
a0e92a8
Код
Авторство
О чём код?
#!/usr/bin/env python3 # 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())