Closed Lucidiot closed 5 years ago
Use an Enum class for output types instead of hardcoded strings. This should make maintenance and unit testing easier.
Since enums were added in Python 3.4, this adds a enum34 requirement to backport it to all supported pinhook versions.
enum34
Fixes #32
thanks so much! I was a bit confused about this, and this is actually nice instead of relying on the hardcoded strings
Use an Enum class for output types instead of hardcoded strings. This should make maintenance and unit testing easier.
Since enums were added in Python 3.4, this adds a
enum34
requirement to backport it to all supported pinhook versions.Fixes #32