mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
8 lines
262 B
Python
Executable file
8 lines
262 B
Python
Executable file
#!/Users/admin/Git_repos/pre-commit-hooks/.venv/bin/python3
|
|
# -*- coding: utf-8 -*-
|
|
import re
|
|
import sys
|
|
from pip._internal.cli.main import main
|
|
if __name__ == '__main__':
|
|
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
|
|
sys.exit(main())
|