Skip to content

Commit 9744e5b

Browse files
authored
Merge pull request #1847 from PyCQA/pyflakes-3-1
upgrade pyflakes to 3.1.x
2 parents b3cee18 + 5bd63bc commit 9744e5b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

docs/source/user/error-codes.rst

-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ generates its own :term:`error code`\ s for ``pyflakes``:
8181
+------+---------------------------------------------------------------------+
8282
| F702 | a ``continue`` statement outside of a ``while`` or ``for`` loop |
8383
+------+---------------------------------------------------------------------+
84-
| F703 | a ``continue`` statement in a ``finally`` block in a loop |
85-
+------+---------------------------------------------------------------------+
8684
| F704 | a ``yield`` or ``yield from`` statement outside of a function |
8785
+------+---------------------------------------------------------------------+
8886
| F706 | a ``return`` statement outside of a function/method |

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ package_dir =
3636
install_requires =
3737
mccabe>=0.7.0,<0.8.0
3838
pycodestyle>=2.10.0,<2.11.0
39-
pyflakes>=3.0.0,<3.1.0
39+
pyflakes>=3.1.0,<3.2.0
4040
# 3.8.0's importlib.metadata is broken
4141
python_requires = >=3.8.1
4242

src/flake8/plugins/pyflakes.py

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"IfTuple": "F634",
4949
"BreakOutsideLoop": "F701",
5050
"ContinueOutsideLoop": "F702",
51-
"ContinueInFinally": "F703",
5251
"YieldOutsideFunction": "F704",
5352
"ReturnOutsideFunction": "F706",
5453
"DefaultExceptNotLast": "F707",

0 commit comments

Comments
 (0)