push
github
add arguments for buttons functions (#2266) * added trigger play function to gpio. added function args to control actions * update function calls with possible arguments * updated readme * added args for usb button mapping * Update README.md * fix parameter name * update parameter names * update examples * fix args for shutdownButton handler * update doc * Apply suggestions from code review Co-authored-by: s-martin <s-martin@users.noreply.github.com> * commented test main functions * change default to yes * refactor to markdown links * updated pytest and coverage paths. ignore test dirs * removed source and omit scripts folder * upload coverage html * add shutdown_button coverage * add two_button_control coverage * imports harmonized * add two_button_control coverage * Revert "upload coverage html" This reverts commit 0729e1b97. * fix flake8 * add simple_button coverage * fix flake8 warnings * add gpio_control coverage * add test for additional type names * update example configs * update flake8 config * add Todo * add led coverage * fix var name * fix test ini location * fix test error on destruction * fix import paths and class name * remove unused code --------- Co-authored-by: s-martin <s-martin@users.noreply.github.com>
36 of 62 new or added lines in 7 files covered. (58.06%)
451 of 575 relevant lines covered (78.43%)
3.91 hits per line