Skip to content

chore(dev): adopt pre-commit hooks#144

Merged
tekktrik merged 1 commit intoadafruit:mainfrom
2bndy5:pre-commit
Jan 31, 2026
Merged

chore(dev): adopt pre-commit hooks#144
tekktrik merged 1 commit intoadafruit:mainfrom
2bndy5:pre-commit

Conversation

@2bndy5
Copy link
Contributor

@2bndy5 2bndy5 commented Jan 26, 2026

resolves #138

Requires the following PRs merged before review:

The pre-commit config was adapted from adafruit/Adafruit_CircuitPython_PCA9554 project's config, but with version upgrades for the specified hooks.

The added CI workflow is just something I whipped up. Maybe there's a Adafruit-maintained reusable workflow of which I'm unaware.

@2bndy5 2bndy5 force-pushed the pre-commit branch 2 times, most recently from c9a1290 to 9de708c Compare January 27, 2026 01:40
@2bndy5 2bndy5 marked this pull request as ready for review January 27, 2026 01:41
@2bndy5

This comment was marked as resolved.

@2bndy5 2bndy5 marked this pull request as draft January 27, 2026 01:47
@2bndy5 2bndy5 marked this pull request as ready for review January 29, 2026 01:59
Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some changes and requests for clarification but this is great that were almost there.

@tekktrik
Copy link
Member

Regarding some similar workflow, there is a much larger one that handles things for libraries that are not applicable here (e.g., sphinx documentation and running mpy-cross), so this makes sense to break out as a standalone workflow.

@2bndy5

This comment was marked as resolved.

Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - thanks for you work on this!

@tekktrik tekktrik merged commit c35d3af into adafruit:main Jan 31, 2026
3 checks passed
@2bndy5 2bndy5 deleted the pre-commit branch January 31, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

adopt pre-commit

2 participants