diff options
| author | Miro Hrončok <miro@hroncok.cz> | 2018-06-03 22:18:48 +0200 |
|---|---|---|
| committer | Miro Hrončok <miro@hroncok.cz> | 2018-06-05 16:17:29 +0200 |
| commit | 527af5c214ef0eccfde3dd58d7ea15e09c483bd3 (patch) | |
| tree | eb530b045c7189abccf452c1fc27692beaa545d6 /docs/source/user | |
| parent | 33e7eae53ad513952da777cabd3654219efe0eb8 (diff) | |
| download | flake8-527af5c214ef0eccfde3dd58d7ea15e09c483bd3.tar.gz | |
Update to pyflakes 2.0.0
- Add new pyflakes codes
- Bump the required versions
- Fixes https://gitlab.com/pycqa/flake8/issues/422
Diffstat (limited to 'docs/source/user')
| -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. |
