From bf370b59088973ca58b304f70a8259f94e95b384 Mon Sep 17 00:00:00 2001 From: Gleb Chipiga Date: Mon, 11 Mar 2019 02:11:26 +0300 Subject: [PATCH] Update attr stubs to 19.1.0 (#2846) --- third_party/2and3/attr/__init__.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/2and3/attr/__init__.pyi b/third_party/2and3/attr/__init__.pyi index ea788ea3c..fcb93b18e 100644 --- a/third_party/2and3/attr/__init__.pyi +++ b/third_party/2and3/attr/__init__.pyi @@ -167,6 +167,7 @@ def attrs( auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., + auto_exc: bool = ..., ) -> _C: ... @overload def attrs( @@ -184,6 +185,7 @@ def attrs( auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., + auto_exc: bool = ..., ) -> Callable[[_C], _C]: ... # TODO: add support for returning NamedTuple from the mypy plugin @@ -212,6 +214,7 @@ def make_class( auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., + auto_exc: bool = ..., ) -> type: ... # _funcs --