upgrade pyflakes to 3.1.x

This commit is contained in:
Anthony Sottile 2023-07-29 13:03:38 -04:00
parent b3cee18653
commit 5bd63bc552
3 changed files with 1 additions and 4 deletions

View file

@ -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 |

View file

@ -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

View file

@ -48,7 +48,6 @@ FLAKE8_PYFLAKES_CODES = {
"IfTuple": "F634",
"BreakOutsideLoop": "F701",
"ContinueOutsideLoop": "F702",
"ContinueInFinally": "F703",
"YieldOutsideFunction": "F704",
"ReturnOutsideFunction": "F706",
"DefaultExceptNotLast": "F707",