summaryrefslogtreecommitdiff
path: root/examples/statemachine/vending_machine.py
Commit message (Collapse)AuthorAgeFilesLines
* Blacken the project (#141)Jon Dufresne2019-10-311-2/+5
|
* Use pyupgrade to upgrade the code to use Python3 conventions (#138)Jon Dufresne2019-10-241-3/+3
| | | | | | | | | | | | The pyupgrade project is available at https://github.com/asottile/pyupgrade and can be installed through pip. The pyupgrade tool automatically upgrades syntax for newer versions of the language. As pyparsing is now Python 3 only, can apply some cleanups and simplifications. Ran the tool using the following command: $ find . -name \*.py -exec pyupgrade --py3-plus {} \; For now, pyparsing.py was skipped while it is refactored to a package.
* Fix description in module headerPaul McGuire2019-05-281-1/+3
|
* Fine tuning of statemachine example, moving InvalidStateTransition ↵Paul McGuire2019-05-271-0/+76
declaration inside generated class; added video state machine demo; added vending machine state machine demo showing how to using statemachine without importing a .pystate file