bmcustodio/flake8 — pull request #6 by dctrwatson (2013-01-09 04:38:27+00:00)
Title: Clear os.walk's dirnames to properly exclude dirs

I have a project:
`./foo/__init__.py`
`./foo/bar/__init__.py`
`./foo/baz.py`
`./__init__.py`
`./qux.py`

Running: `flake8 --exclude="foo" ./`

Checks:
`./foo/bar/__init__.py`
`./__init__.py`
`./qux.py`

This patch prevents the continued walking of **foo**'s subdirectories and not
just files.