diff --git a/CHANGES.rst b/CHANGES.rst index 0e181e5..fff0ada 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,11 @@ Changelog ========= +Version 6.0.2 +------------- + +* Fixing that the typing `pyi` files were not included in the manifest (thanks to Julian Torres) + Version 6.0.1 ------------- diff --git a/MANIFEST.in b/MANIFEST.in index fffa170..462abbb 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -5,3 +5,4 @@ include box/py.typed include box/*.c include box/*.so include box/*.pyd +include box/*.pyi diff --git a/box/__init__.py b/box/__init__.py index 1a12f5d..c0337c0 100644 --- a/box/__init__.py +++ b/box/__init__.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- __author__ = "Chris Griffith" -__version__ = "6.0.1" +__version__ = "6.0.2" from box.box import Box from box.box_list import BoxList diff --git a/box/box.pyi b/box/box.pyi index 2e89991..4907b00 100644 --- a/box/box.pyi +++ b/box/box.pyi @@ -56,8 +56,8 @@ class Box(dict): def copy(self) -> Box: ... def __copy__(self) -> Box: ... def __deepcopy__(self, memodict: Any = ...) -> Box: ... - def __getitem__(self, item: Any, _ignore_default: bool = ...): ... - def __getattr__(self, item: Any): ... + def __getitem__(self, item: Any, _ignore_default: bool = ...) -> Any: ... + def __getattr__(self, item: Any) -> Any: ... def __setitem__(self, key: Any, value: Any): ... def __setattr__(self, key: Any, value: Any): ... def __delitem__(self, key: Any): ...