mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 22:31:47 +00:00
15 lines
278 B
Python
15 lines
278 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
|