diff --git a/doc8/main.py b/doc8/main.py index 1ab1011..8399069 100644 --- a/doc8/main.py +++ b/doc8/main.py @@ -243,9 +243,10 @@ def main(): pass else: if not extension_matcher.match(f.extension): - print(" Skipping check '%s' since it does not understand" - " parsing a file with extension '%s'" - % (check_name, f.extension)) + if args.get('verbose'): + print(" Skipping check '%s' since it does not" + " understand parsing a file with extension '%s'" + % (check_name, f.extension)) continue try: reports = set(c.REPORTS)