jcrocholl/pep8 — pull request #186 by timleslie (2013-04-11 13:50:35+00:00)
Title: Check full file path when testing if a file is excluded

When testing a large package I noticed that adding the file foo/bar/baz.py to my "excluded" list and then running

pep8 foo

caused baz.py to still be checked. The reason is that self.excluded() is only called on the base filename, not the complete path. This pull request fixes this behaviour.