ruff/crates/ruff_linter/resources/test/fixtures/flake8_pyi/PYI010.py
2023-09-20 08:38:27 +02:00

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