UNPKG

pi-lens

Version:

Real-time code feedback for pi — LSP, linters, formatters, type-checking, structural analysis & booboo

12 lines (10 loc) • 232 B
id: no-yield-from-non-iterable valid: - | from collections.abc import Iterable def gen() -> Iterable[int]: yield from range(10) invalid: - | def gen(): yield from range(10) # no Iterable annotation