summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorPeter Cock <p.j.a.cock@googlemail.com>2017-04-26 10:57:33 +0000
committerPeter Cock <p.j.a.cock@googlemail.com>2017-04-26 10:57:33 +0000
commit180196f281fd65837e53c13204ac345768d3a697 (patch)
tree58a98055674b3d567c6d6910bb2c1bf6e7524bd5 /docs/source
parent52180995046583cacf9d78a4423b82448a47fef1 (diff)
downloadflake8-180196f281fd65837e53c13204ac345768d3a697.tar.gz
Note about error behaviour depending on Python version, e.g. F812
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/user/error-codes.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/source/user/error-codes.rst b/docs/source/user/error-codes.rst
index dbaf35e..f14c4ec 100644
--- a/docs/source/user/error-codes.rst
+++ b/docs/source/user/error-codes.rst
@@ -70,6 +70,9 @@ generates its own :term:`error code`\ s for ``pyflakes``:
| F841 | local variable ``name`` is assigned to but never used |
+------+---------------------------------------------------------------------+
+Note that some of these entries behave differently on Python 2 and Python 3,
+for example F812 is specific to Python 2 only.
+
We also report one extra error: ``E999``. We report ``E999`` when we fail to
compile a file into an Abstract Syntax Tree for the plugins that require it.