mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 20:26:53 +00:00
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:
parent
e9ddf7533b
commit
33f982b446
6 changed files with 13 additions and 11 deletions
|
|
@ -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``.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue