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 /src/flake8/plugins | |
| 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 'src/flake8/plugins')
| -rw-r--r-- | src/flake8/plugins/pyflakes.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flake8/plugins/pyflakes.py b/src/flake8/plugins/pyflakes.py index bc19291..9ef9e93 100644 --- a/src/flake8/plugins/pyflakes.py +++ b/src/flake8/plugins/pyflakes.py @@ -38,6 +38,7 @@ FLAKE8_PYFLAKES_CODES = { 'ReturnOutsideFunction': 'F706', 'DefaultExceptNotLast': 'F707', 'DoctestSyntaxError': 'F721', + 'ForwardAnnotationSyntaxError': 'F722', 'RedefinedWhileUnused': 'F811', 'RedefinedInListComp': 'F812', 'UndefinedName': 'F821', @@ -45,6 +46,7 @@ FLAKE8_PYFLAKES_CODES = { 'UndefinedLocal': 'F823', 'DuplicateArgument': 'F831', 'UnusedVariable': 'F841', + 'RaiseNotImplemented': 'F901', } |
