Update to pyflakes 2.0.0

- Add new pyflakes codes
- Bump the required versions
- Fixes https://gitlab.com/pycqa/flake8/issues/422
This commit is contained in:
Miro Hrončok 2018-06-03 22:18:48 +02:00
parent 33e7eae53a
commit 527af5c214
4 changed files with 10 additions and 2 deletions

View file

@ -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',
}