Remove @entry decorator (and misc cleanup)

This commit is contained in:
Anthony Sottile
2015-01-04 11:08:53 -08:00
parent 9bfa01da81
commit 2f1d2bbe5b
13 changed files with 25 additions and 88 deletions

View File

@ -2,11 +2,8 @@ from __future__ import print_function
import sys
from pre_commit_hooks.util import entry
@entry
def validate_files(argv):
def validate_files(argv=None):
retcode = 0
for filename in argv:
if (