Merge branch 'extra_include_eggs' into 'master'

Extra include eggs

Add `.eggs` and `*.egg` to `EXTRA_EXCLUDE`

This is because these are usually downloaded by setuptools and they're usually other people's code so you don't want to check them.

```
[marca@marca-mac2 requests-unixsocket]$ flake8
./.eggs/pbr-0.10.0-py2.7.egg/pbr/packaging.py:740:17: E265 block comment should start with '# '
./pbr-0.10.0-py3.4.egg/pbr/packaging.py:740:17: E265 block comment should start with '# '
```

See merge request !10
This commit is contained in:
Ian Cordasco 2014-12-06 04:19:58 +00:00
commit 48a256b583

View file

@ -10,7 +10,7 @@ from flake8.util import OrderedSet, is_windows, is_using_stdin
_flake8_noqa = re.compile(r'\s*# flake8[:=]\s*noqa', re.I).search
EXTRA_EXCLUDE = '.tox'
EXTRA_EXCLUDE = ['.tox', '.eggs', '*.egg']
def _register_extensions():