diff options
| author | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-05-30 12:44:58 -0500 |
|---|---|---|
| committer | Ian Cordasco <graffatcolmingov@gmail.com> | 2016-05-30 12:51:31 -0500 |
| commit | 33f982b446aa1698dcc53d3cd6277f387c79b7a3 (patch) | |
| tree | 11b6b204bfe57a107738f6ab1c456c93dc77ad10 /docs/source/user | |
| parent | e9ddf7533b7bbe142a5450c41f667fb1115b9262 (diff) | |
| download | flake8-33f982b446aa1698dcc53d3cd6277f387c79b7a3.tar.gz | |
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
Diffstat (limited to 'docs/source/user')
| -rw-r--r-- | docs/source/user/configuration.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/user/configuration.rst b/docs/source/user/configuration.rst index eb9054d..6a176ec 100644 --- a/docs/source/user/configuration.rst +++ b/docs/source/user/configuration.rst @@ -157,6 +157,14 @@ This would allow us to add comments for why we're excluding items, e.g., .. 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``. This is also useful if you have a long list of error codes to ignore. Let's |
