mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00

Add a new method to the semantic model to simplify and improve the correctness of a common pattern
11 lines
164 B
Python
11 lines
164 B
Python
def f() -> None:
|
|
raise NotImplemented()
|
|
|
|
|
|
def g() -> None:
|
|
raise NotImplemented
|
|
|
|
|
|
def h() -> None:
|
|
NotImplementedError = "foo"
|
|
raise NotImplemented
|