mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
upgrade pyflakes to 3.1.x
This commit is contained in:
parent
b3cee18653
commit
5bd63bc552
3 changed files with 1 additions and 4 deletions
|
|
@ -81,8 +81,6 @@ generates its own :term:`error code`\ s for ``pyflakes``:
|
|||
+------+---------------------------------------------------------------------+
|
||||
| F702 | a ``continue`` statement outside of a ``while`` or ``for`` loop |
|
||||
+------+---------------------------------------------------------------------+
|
||||
| F703 | a ``continue`` statement in a ``finally`` block in a loop |
|
||||
+------+---------------------------------------------------------------------+
|
||||
| F704 | a ``yield`` or ``yield from`` statement outside of a function |
|
||||
+------+---------------------------------------------------------------------+
|
||||
| F706 | a ``return`` statement outside of a function/method |
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ package_dir =
|
|||
install_requires =
|
||||
mccabe>=0.7.0,<0.8.0
|
||||
pycodestyle>=2.10.0,<2.11.0
|
||||
pyflakes>=3.0.0,<3.1.0
|
||||
pyflakes>=3.1.0,<3.2.0
|
||||
# 3.8.0's importlib.metadata is broken
|
||||
python_requires = >=3.8.1
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ FLAKE8_PYFLAKES_CODES = {
|
|||
"IfTuple": "F634",
|
||||
"BreakOutsideLoop": "F701",
|
||||
"ContinueOutsideLoop": "F702",
|
||||
"ContinueInFinally": "F703",
|
||||
"YieldOutsideFunction": "F704",
|
||||
"ReturnOutsideFunction": "F706",
|
||||
"DefaultExceptNotLast": "F707",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue