Add .flake8 to PROJECT_CONFIG for local config files

This commit is contained in:
Ian Cordasco 2015-11-23 10:20:42 -06:00
parent 75ad81eb13
commit 17553e6192
2 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,14 @@
CHANGES
=======
2.x.y - 2015-aa-bb
------------------
- **Bug** Properly look for ``.flake8`` in current working directory
(`GitLab#103`_)
.. _GitLab#103: https://gitlab.com/pycqa/flake8/issues/103
2.5.0 - 2015-10-26
------------------

View file

@ -16,6 +16,8 @@ _flake8_noqa = re.compile(r'\s*# flake8[:=]\s*noqa', re.I).search
EXTRA_EXCLUDE = ['.tox', '.eggs', '*.egg']
pep8.PROJECT_CONFIG += ('.flake8',)
def _load_entry_point(entry_point, verify_requirements):
"""Based on the version of setuptools load an entry-point correctly.