mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
22 lines
288 B
Python
22 lines
288 B
Python
def bar():
|
|
... # OK
|
|
|
|
|
|
def foo():
|
|
"""foo""" # OK, docstrings are handled by another rule
|
|
|
|
|
|
def buzz():
|
|
print("buzz") # ERROR PYI010
|
|
|
|
|
|
def foo2():
|
|
123 # ERROR PYI010
|
|
|
|
|
|
def bizz():
|
|
x = 123 # ERROR PYI010
|
|
|
|
|
|
def foo3():
|
|
pass # OK, pass is handled by another rule
|