mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
27 lines
307 B
Python
27 lines
307 B
Python
def bar():
|
|
... # OK
|
|
|
|
|
|
def bar():
|
|
pass # OK
|
|
|
|
|
|
def bar():
|
|
"""oof""" # OK
|
|
|
|
|
|
def oof(): # ERROR PYI048
|
|
"""oof"""
|
|
print("foo")
|
|
|
|
|
|
def foo(): # ERROR PYI048
|
|
"""foo"""
|
|
print("foo")
|
|
print("foo")
|
|
|
|
|
|
def buzz(): # ERROR PYI048
|
|
print("fizz")
|
|
print("buzz")
|
|
print("test")
|