Takashi Kajinami 3e2d7a2094 Run pyupgrade to clean up Python 2 syntaxes
Update all .py source files by
 $ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.

pep8 errors are fixed by
 $ autopep8 --select=E127,E128,E501 --max-line-length 79 -r \
    --in-place automaton

Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.

Change-Id: Ic81c8d6f1270895437132bfccd676c79e6dfce30
2025-02-10 22:14:05 +09:00
2015-10-05 17:10:31 -04:00
2020-02-04 10:13:23 +01:00
2019-04-19 19:42:55 +00:00
2018-07-11 09:48:53 +07:00
2024-01-11 15:36:52 -08:00
2019-06-26 18:30:20 +02:00
2021-06-07 21:08:51 +00:00
2019-06-19 00:57:49 +08:00
2014-12-02 22:38:57 -08:00
2019-04-23 13:53:38 +08:00
2024-04-30 17:48:46 +09:00
2024-10-24 21:36:02 +09:00
2020-05-26 09:00:31 +02:00
2024-04-30 17:48:46 +09:00

Automaton

Latest Version

Downloads

Friendly state machines for python. The goal of this library is to provide well documented state machine classes and associated utilities. The state machine pattern (or the implemented variation there-of) is a commonly used pattern and has a multitude of various usages. Some of the usages for this library include providing state & transition validation and running/scheduling/analyzing the execution of tasks.

Description
Friendly state machines for python.
Readme 1.7 MiB
Languages
Python 100%