mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +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
|
||||
=======
|
||||
|
||||
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
|
||||
------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue