Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions backend/src/hatchling/bridge/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import os
import sys
from typing import Any
from typing import Any, NoReturn


class Application:
Expand Down Expand Up @@ -80,7 +80,7 @@ def display_mini_header(self, message: str = '', **kwargs: Any) -> None: # noqa
if self.__verbosity >= 0:
_display(f'[{message}]')

def abort(self, message: str = '', code: int = 1, **kwargs: Any) -> None: # noqa: ARG002
def abort(self, message: str = '', code: int = 1, **kwargs: Any) -> NoReturn: # noqa: ARG002
"""
Terminate the program with the given return code.
"""
Expand Down