NoReturn
## Summary Given a function like: ```python def func(x: int): if not x: raise ValueError else: raise TypeError ``` We now correctly use `NoReturn` as the return type, rather than `None`. Closes https://github.com/astral-sh/ruff/issues/9201.
ruff-dev
SourceKind
unsafe
as_slice
no_blank_line_before_class_docstring
pylint
too-many-locals
PLR0914