From 800051386807dc51198b6b6f7e5b62537b7ba1e9 Mon Sep 17 00:00:00 2001 From: Amol Bhave Date: Wed, 11 Jul 2018 23:16:55 -0400 Subject: [PATCH] Change return type for click.Context.fail and click.Context.abort to NoReturn (#2326) --- third_party/2and3/click/core.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/2and3/click/core.pyi b/third_party/2and3/click/core.pyi index ebb5e31e6..728ee2653 100644 --- a/third_party/2and3/click/core.pyi +++ b/third_party/2and3/click/core.pyi @@ -115,10 +115,10 @@ class Context: def lookup_default(self, name: str) -> Any: ... - def fail(self, message: str) -> None: + def fail(self, message: str) -> NoReturn: ... - def abort(self) -> None: + def abort(self) -> NoReturn: ... def exit(self, code: Union[int, str] = ...) -> NoReturn: