Skip to content

Commit

Permalink
closes #20
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Oct 26, 2022
1 parent e4b5973 commit b6f0139
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions enum_properties/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 '
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit b6f0139

Please sign in to comment.