mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-11 15:24:18 +00:00
Add .flake8 to PROJECT_CONFIG for local config files
This commit is contained in:
parent
75ad81eb13
commit
17553e6192
2 changed files with 10 additions and 0 deletions
|
|
@ -1,6 +1,14 @@
|
||||||
CHANGES
|
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
|
2.5.0 - 2015-10-26
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,8 @@ _flake8_noqa = re.compile(r'\s*# flake8[:=]\s*noqa', re.I).search
|
||||||
|
|
||||||
EXTRA_EXCLUDE = ['.tox', '.eggs', '*.egg']
|
EXTRA_EXCLUDE = ['.tox', '.eggs', '*.egg']
|
||||||
|
|
||||||
|
pep8.PROJECT_CONFIG += ('.flake8',)
|
||||||
|
|
||||||
|
|
||||||
def _load_entry_point(entry_point, verify_requirements):
|
def _load_entry_point(entry_point, verify_requirements):
|
||||||
"""Based on the version of setuptools load an entry-point correctly.
|
"""Based on the version of setuptools load an entry-point correctly.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue