ruff/crates/ruff_linter/resources/test/fixtures/pyflakes/F901.py
Alex Waygood f779babc5f
Improve handling of builtin symbols in linter rules (#10919)
Add a new method to the semantic model to simplify and improve the correctness of a common pattern
2024-04-16 11:37:31 +01:00

11 lines
164 B
Python

def f() -> None:
raise NotImplemented()
def g() -> None:
raise NotImplemented
def h() -> None:
NotImplementedError = "foo"
raise NotImplemented