jcrocholl/pep8 — pull request #111 by emonty (2012-07-26 13:41:19+00:00)
Title:  Allow exclude patterns to match directory paths.

excluded strips down the filename to the basename, but fnmatch does not
need this, and it makes it impossible to trim a specific subdir path
in excludes that might need an additional layer of context (such as
"lib/python2.6") If we stop stripping down to basename for the check,
and then start joining root onto dirname in the os.path.walk call,
all works lovely.