Skip to content

Commit

Permalink
Add NoReturn
Browse files Browse the repository at this point in the history
Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
  • Loading branch information
jacobtylerwalls and DanielNoord committed Jun 27, 2023
1 parent 8c9e5ef commit f259ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroid/brain/brain_builtin_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def ljust(self, width, fillchar=None):
"""


def _use_default():
def _use_default() -> NoReturn:
raise UseInferenceDefault()

Check warning on line 132 in astroid/brain/brain_builtin_inference.py

View check run for this annotation

Codecov / codecov/patch

astroid/brain/brain_builtin_inference.py#L132

Added line #L132 was not covered by tests


Expand Down

0 comments on commit f259ec2

Please sign in to comment.