mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
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:
commit
48a256b583
1 changed files with 1 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue