1. Tarek Ziadé
  2. flake8

Commits

kilian  committed e7ecc89

Ignore directories that match exclusion patterns.

  • Participants
  • Parent commits edc6d5b
  • Branches default

Comments (0)

Files changed (1)

File flake8/run.py

View file
     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