alysivji / finite-state-machine

Lightweight, decorator-based Python implementation of a Finite State Machine
MIT License
112 stars 12 forks source link

Add support for Enums #25

Closed alysivji closed 3 years ago

alysivji commented 3 years ago

Closes #7.

Building off the work in #24 which added support for IntEnum, this PR adds support for regular Enums.

codecov-io commented 3 years ago

Codecov Report

Merging #25 (412e666) into master (38c7e06) will increase coverage by 0.09%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
+ Coverage   96.10%   96.20%   +0.09%     
==========================================
  Files           7        7              
  Lines         154      158       +4     
==========================================
+ Hits          148      152       +4     
  Misses          6        6              
Impacted Files Coverage Δ
finite_state_machine/state_machine.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 38c7e06...412e666. Read the comment docs.