mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2025-08-14 17:31:28 +08:00
Fix debug statement hook
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user