mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-04 19:26:52 +00:00
Fix debug statement hook
This commit is contained in:
parent
4fc86a807b
commit
10c042c99c
2 changed files with 3 additions and 3 deletions
|
|
@ -45,7 +45,7 @@ def check_file_for_debug_statements(filename):
|
|||
|
||||
def debug_statement_hook(argv):
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('filenames', nargs='+', help='Filenames to run')
|
||||
parser.add_argument('filenames', nargs='*', help='Filenames to run')
|
||||
args = parser.parse_args()
|
||||
|
||||
retv = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue