mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add test for python_venv language
This commit is contained in:
parent
e8954e2bf3
commit
b5af5a5b27
12 changed files with 55 additions and 15 deletions
10
testing/resources/python3_hooks_repo/py3_hook.py
Normal file
10
testing/resources/python3_hooks_repo/py3_hook.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
print(sys.version_info[0])
|
||||
print(repr(sys.argv[1:]))
|
||||
print('Hello World')
|
||||
return 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue