---
source: crates/ruff_linter/src/rules/pyflakes/mod.rs
---
F821 Undefined name `InnerClass`
 --> F821_5.pyi:4:27
  |
3 | class RandomClass:
4 |     def bad_func(self) -> InnerClass: ...  # F821
  |                           ^^^^^^^^^^
5 |     def good_func(self) -> OuterClass.InnerClass: ...  # Okay
  |
