Adding upstream version 3.5.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
0db83eaf7b
commit
3e8db4df26
14 changed files with 130 additions and 106 deletions
|
@ -21,7 +21,7 @@ def check_all_hooks_match_files(config_file: str) -> int:
|
|||
for hook in all_hooks(config, Store()):
|
||||
if hook.always_run or hook.language == 'fail':
|
||||
continue
|
||||
elif not classifier.filenames_for_hook(hook):
|
||||
elif not any(classifier.filenames_for_hook(hook)):
|
||||
print(f'{hook.id} does not apply to this repository')
|
||||
retv = 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue