1. Tarek Ziadé
  2. flake8

Commits

Tarek Ziadé  committed eef0971

bypass non-python files

  • Participants
  • Parent commits 70e1b2d
  • Branches default

Comments (0)

Files changed (1)

File flake8/__init__.py

View file
     files = []
     for rev in xrange(repo[kwargs['node']], len(repo)):
         for file_ in repo[rev].files():
+            if not file_.endswith('.py'):
+                continue
             if file_ not in files:
                 files.append(file_)