mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2025-08-14 09:27:21 +08:00
Remove @entry decorator (and misc cleanup)
This commit is contained in:
@ -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 (
|
||||
|
Reference in New Issue
Block a user