---
source: crates/ruff/src/rules/flake8_pyi/mod.rs
---
PYI010.pyi:6:5: PYI010 Function body must contain only `...`
  |
6 | def buzz():
7 |     print("buzz")  # ERROR PYI010
  |     ^^^^^^^^^^^^^ PYI010
8 | 
9 | def foo2():
  |

PYI010.pyi:9:5: PYI010 Function body must contain only `...`
   |
 9 | def foo2():
10 |     123  # ERROR PYI010
   |     ^^^ PYI010
11 | 
12 | def bizz():
   |

PYI010.pyi:12:5: PYI010 Function body must contain only `...`
   |
12 | def bizz():
13 |     x = 123  # ERROR PYI010
   |     ^^^^^^^ PYI010
   |


