mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
17 lines
302 B
Python
17 lines
302 B
Python
from __future__ import absolute_import
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
import io
|
|
import sys
|
|
|
|
import yapf
|
|
|
|
|
|
def main(argv=None):
|
|
argv = argv if argv is not None else sys.argv[1:]
|
|
return yapf.main(argv)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
exit(main())
|