Commit Graph

15 Commits

Author SHA1 Message Date
MicroDev 730a2a9c2c
remove certain excludes from pre-commit 2023-03-25 13:09:35 +05:30
hathach 8c1095b268
Merge branch 'main' into add-codespell 2023-03-23 14:09:57 +07:00
hathach a8abe8e705
remove lib from exludes, fix all remaining typos 2023-03-23 13:59:08 +07:00
hathach fecc1bdedb
fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
hathach d9fee4c354
add codespell 2023-03-18 21:41:06 +07:00
Jeff Epler 1d25049a7a
add mbedtls matching micropython @ v1.19.1-451-gbdbc44474 2022-10-05 10:03:44 -05:00
Scott Shawcroft 2693e2ce0a
Add neopixel support on PWM capable pins
It'll be hard to do PWM from them concurrently

Fixes #5697
2021-12-14 16:59:53 -08:00
Scott Shawcroft 6d43dd0dca
Try and fix build 2021-09-14 11:10:55 -07:00
Jeff Epler cc1dd73e94 pre-commit: Have pre-commit pass the list of files to codeformat.py 2021-03-15 15:32:26 -05:00
Jeff Epler c2ed1b0942 pre-commit: only run uncrustify if changed files are detected
This adds the "no-run-if-empty" flag to the xargs invocation.  Otherwise,
if git diff names no files, the command is run once with no agument
specified which leads to running on a default list of files that appears
to include ignored files and files in submodules.

I am uneasy about how this works (it means that `pre-commit run --all`
doesn't actually check all files) but that's a separate issue.
2021-03-15 15:19:23 -05:00
microDev 090b6ba42f
update pre-commit
- add formatting check
- add translations check
2021-03-15 19:26:29 +05:30
Jeff Epler 88ce6911b7 Revert "pre-commit: Add checking of 'make translate' status"
This reverts commit 1dda33dc41.
2021-01-12 18:52:39 -06:00
Jeff Epler 1dda33dc41 pre-commit: Add checking of 'make translate' status
.. when this check completes with an error, circuitpython.pot has been updated
and the changes can be staged.
2021-01-07 14:42:12 -06:00
Scott Shawcroft 17bdc969db
Reorganize sdkconfigs and release UF2s 2020-09-17 16:01:23 -07:00
Diego Elio Pettenò 79cd86445e Add a pre-commit configuration to enforce basic file hygiene. 2020-06-03 10:56:35 +01:00