mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Fix Py3
This commit is contained in:
parent
c91b244105
commit
3d5a360df4
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
|||
from __future__ import print_function
|
||||
import sys
|
||||
|
||||
|
||||
def func():
|
||||
print repr(sys.argv[1:])
|
||||
print 'Hello World'
|
||||
print(repr(sys.argv[1:]))
|
||||
print('Hello World')
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue