Commits

kilian committed e7ecc89

Ignore directories that match exclusion patterns.

Comments (0)

Files changed (1)

     for path in paths:
         if os.path.isdir(path):
             for dirpath, dirnames, filenames in os.walk(path):
+                if pep8style.excluded(dirpath):
+                    continue
                 for filename in filenames:
                     if not filename.endswith('.py'):
                         continue