Merged
Conversation
Fixed `readme-example-updater` `pre-commit` hook to trigger when examples are updated.
Improved the `readme-example-updater` `pre-commit` hook to raise a warning when including non-existent example files in `README.rst`.
Cleaned examples up by removing unused imports, adding docstrings, renaming files for better readability and adding a simpler example for double button set-ups.
|
👋 Thanks for this pull request! Unfortunately, it looks like the automated continuous integration (CI) test(s) failed. These can be tricky to fix so we've written a guide on how to fix them locally. It has pages about running pre-commit locally and another about building the docs locally with sphinx. Thanks for contributing to CircuitPython! If you have more questions, feel free to join the Adafruit Discord and post in #circuitpython-dev. |
Reverted `examples/button_handler_simpletest.py` rename so that `pytest` does not test it.
Updated docs to use the new example paths and include the new exmple.
Merged
EGJ-Moorington
added a commit
that referenced
this pull request
Jan 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleaned examples up by:
readme-example-updaterpre-commithook to raise a warning when a non-existent file is included inREADME.rst.readme-example-updaterpre-commithook to trigger when examples are updated.Closes #43