
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
Automaton
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.
- Free software: Apache license
- Documentation: https://docs.openstack.org/automaton/latest/
- Source: https://opendev.org/openstack/automaton
- Bugs: https://bugs.launchpad.net/automaton
Description
Languages
Python
100%