Rely on Python 3.4 backport of configparser

Python 2.7's ConfigParser module does not allow for the behaviour we
have documented for config files in Flake8 3.0. To compensate for that,
we add a dependency on the configparser backport on PyPI for Python 2.7
This commit is contained in:
Ian Cordasco 2016-05-30 12:44:58 -05:00
parent e9ddf7533b
commit 33f982b446
6 changed files with 13 additions and 11 deletions

View file

@ -155,6 +155,14 @@ This would allow us to add comments for why we're excluding items, e.g.,
dist
max-complexity = 10
.. note::
If you're using Python 2, you will notice that we download the
:mod:`configparser` backport from PyPI. That backport enables us to
support this behaviour on all supported versions of Python.
Please do **not** open issues about this dependency.
.. note::
You can also specify ``--max-complexity`` as ``max_complexity = 10``.