From b6f013911f3c4f8c23682e9296f3f39d42867af0 Mon Sep 17 00:00:00 2001 From: Brian Kohan Date: Tue, 25 Oct 2022 21:48:15 -0700 Subject: [PATCH] closes #20 --- doc/requirements.txt | 2 +- enum_properties/__init__.py | 3 +-- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index a6ef799..4c8c44f 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -6,4 +6,4 @@ sphinxcontrib-htmlhelp==2.0.0; python_version >= "3.5" sphinxcontrib-jsmath==1.0.1; python_version >= "3.5" sphinxcontrib-qthelp==1.0.3; python_version >= "3.5" sphinxcontrib-serializinghtml==1.1.5; python_version >= "3.5" -enum-properties==1.3.0 +enum-properties==1.3.1 diff --git a/enum_properties/__init__.py b/enum_properties/__init__.py index 2dcf9a4..2436105 100644 --- a/enum_properties/__init__.py +++ b/enum_properties/__init__.py @@ -31,7 +31,7 @@ cached_property = property # pylint: disable=C0103 -VERSION = (1, 3, 0) +VERSION = (1, 3, 1) __title__ = 'Enum Properties' __version__ = '.'.join(str(i) for i in VERSION) @@ -378,7 +378,6 @@ def __new__( # pylint: disable=W0221 cls.enum_properties = list(classdict._ep_properties_.keys()) def add_sym_lookup(prop, p_val, enum_inst): - print(prop, p_val, enum_inst) if not isinstance(p_val, Hashable): raise ValueError( f'{cls}.{prop}:{p_val} is not hashable. Symmetrical ' diff --git a/pyproject.toml b/pyproject.toml index 6f03929..fc835c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "enum-properties" -version = "1.3.0" +version = "1.3.1" description = "Add properties to Python enumeration values with a simple declarative syntax." authors = ["Brian Kohan "] license = "MIT"