Merge "Log that the check does not understand the extension when verbose"
This commit is contained in:
commit
a2f8025e96
|
@ -243,9 +243,10 @@ def main():
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
if not extension_matcher.match(f.extension):
|
if not extension_matcher.match(f.extension):
|
||||||
print(" Skipping check '%s' since it does not understand"
|
if args.get('verbose'):
|
||||||
" parsing a file with extension '%s'"
|
print(" Skipping check '%s' since it does not"
|
||||||
% (check_name, f.extension))
|
" understand parsing a file with extension '%s'"
|
||||||
|
% (check_name, f.extension))
|
||||||
continue
|
continue
|
||||||
try:
|
try:
|
||||||
reports = set(c.REPORTS)
|
reports = set(c.REPORTS)
|
||||||
|
|
Loading…
Reference in New Issue