mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 07:04:53 +00:00
Implement F704 (#66)
This commit is contained in:
parent
c28ac75591
commit
2bac3027a5
6 changed files with 72 additions and 0 deletions
10
resources/test/src/F704.py
Normal file
10
resources/test/src/F704.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
def f() -> int:
|
||||
yield 1
|
||||
|
||||
|
||||
class Foo:
|
||||
yield 2
|
||||
|
||||
|
||||
yield 3
|
||||
yield from 3
|
Loading…
Add table
Add a link
Reference in a new issue