diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2014-12-06 04:19:58 +0000 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2014-12-06 04:19:58 +0000 |
| commit | 48a256b583425da5fc329a301af4b2c9aeff0e41 (patch) | |
| tree | 868ba35db33d4a21d84716376e9e148f460fbd86 /flake8 | |
| parent | 73b334a6e43362ffdb1052a4662a34fce5a80887 (diff) | |
| parent | d95cf46f7218576e1e1427b488e5d56ea43dbaa0 (diff) | |
| download | flake8-48a256b583425da5fc329a301af4b2c9aeff0e41.tar.gz | |
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
Diffstat (limited to 'flake8')
| -rw-r--r-- | flake8/engine.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flake8/engine.py b/flake8/engine.py index 5f8b05e..eaac9a7 100644 --- a/flake8/engine.py +++ b/flake8/engine.py @@ -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(): |
