ruff/crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI010.py

23 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