diff options
| author | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2018-06-29 01:52:34 +0000 |
|---|---|---|
| committer | Ian Stapleton Cordasco <graffatcolmingov@gmail.com> | 2018-06-29 01:52:34 +0000 |
| commit | eb6228b660a5194f201dcf8767f804f697756b79 (patch) | |
| tree | c8c3a5403c1ad4a8ae1b901615a8b5b045f8d4d5 /docs | |
| parent | e60e8027c9e9f16a53b71e35685a8b3213e29ed7 (diff) | |
| parent | 527af5c214ef0eccfde3dd58d7ea15e09c483bd3 (diff) | |
| download | flake8-eb6228b660a5194f201dcf8767f804f697756b79.tar.gz | |
Merge branch 'pyflakes_new_codes' into 'master'
Update to pyflakes 2.0.0
Closes #422
See merge request pycqa/flake8!239
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/source/user/error-codes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/source/user/error-codes.rst b/docs/source/user/error-codes.rst index f14c4ec..89183fa 100644 --- a/docs/source/user/error-codes.rst +++ b/docs/source/user/error-codes.rst @@ -54,6 +54,9 @@ generates its own :term:`error code`\ s for ``pyflakes``: +------+---------------------------------------------------------------------+ | F707 | an ``except:`` block as not the last exception handler | +------+---------------------------------------------------------------------+ +| F721 | doctest syntax error | +| F722 | syntax error in forward type annotation | ++------+---------------------------------------------------------------------+ +------+---------------------------------------------------------------------+ | F811 | redefinition of unused ``name`` from line ``N`` | +------+---------------------------------------------------------------------+ @@ -69,6 +72,9 @@ generates its own :term:`error code`\ s for ``pyflakes``: +------+---------------------------------------------------------------------+ | F841 | local variable ``name`` is assigned to but never used | +------+---------------------------------------------------------------------+ ++------+---------------------------------------------------------------------+ +| F901 | ``raise NotImplemented`` should be ``raise NotImplementedError`` | ++------+---------------------------------------------------------------------+ Note that some of these entries behave differently on Python 2 and Python 3, for example F812 is specific to Python 2 only. |
