From 2e55fe1193683d58d9b39505e6347326cdc66df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9onard=20Binet?= Date: Wed, 14 Jul 2021 21:26:21 +0200 Subject: [PATCH 1/2] missing typing --- lighttree/interactive.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lighttree/interactive.py b/lighttree/interactive.py index 9bb2f74..094b6c4 100644 --- a/lighttree/interactive.py +++ b/lighttree/interactive.py @@ -51,9 +51,9 @@ class Obj(object): with a figure), will be only available through dict `__getitem__` access. """ - _REPR_NAME = None - _STRING_KEY_CONSTRAINT = True - _COERCE_ATTR = False + _REPR_NAME: Optional[str] = None + _STRING_KEY_CONSTRAINT: bool = True + _COERCE_ATTR: bool = False def __init__(self, **kwargs: Any) -> None: # will store non-valid names @@ -122,8 +122,8 @@ class TreeBasedObj(Obj): useless instances, only direct children of accessed nodes are expanded. """ - _COERCE_ATTR = False - _ATTR = None + _COERCE_ATTR: bool = False + _ATTR: Optional[str] = None def __init__( self, From 23f4f9aac749321ad7170efb95c3b75d9da2ca49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9onard=20Binet?= Date: Wed, 14 Jul 2021 21:26:59 +0200 Subject: [PATCH 2/2] v1.1.4 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0825856..cfd7886 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup -__version__ = "1.1.3" +__version__ = "1.1.4" develop_requires = [ "pre-commit",