907c5d387f
Originally, black_bindings found each contiguous "//|" block and sent it to black independently. This was slower than it needed to be. Instead, swap the comment prefix: when running black, take off "//|" prefixes and put "##|" prefixes on all un-prefixed lines. Then, after black is run, do the opposite operation This more than doubles the overall speed of "pre-commit run --all", from 3m20s to 55s CPU time on my local machine (32.5s to under 10s "elapsed" time) It also causes a small amount of churn in the bindings, because black now sees enough context to know whether one 'def' follows another or ends the 'def's in a 'class'. In the latter case, it adds an extra newline, which becomes a "//|" line. I'm less sure why a trailing comma was omitted before down in rp2pio/StateMachine.c but let's roll with it. |
||
---|---|---|
.. | ||
asf4@84f56af132 | ||
asf4_conf | ||
bindings/samd | ||
boards | ||
common-hal | ||
freetouch@b6859a349e | ||
libs | ||
modules | ||
peripherals@57133eefeb | ||
sd_mmc | ||
supervisor | ||
tools | ||
.gitattributes | ||
.gitignore | ||
audio_dma.c | ||
audio_dma.h | ||
background.c | ||
background.h | ||
eic_handler.c | ||
eic_handler.h | ||
fatfs_port.c | ||
ld_defines.c | ||
Makefile | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
README.rst | ||
reset.c | ||
reset.h | ||
samd_peripherals_config.h | ||
shared_timers.c | ||
shared_timers.h | ||
timer_handler.c | ||
timer_handler.h |
SAMD21 and SAMD51 ================== This port supports many development boards that utilize SAMD21 and SAMD51 chips. See https://circuitpython.org/downloads for all supported boards. Building -------- For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/ Debugging --------- For debugging instructions see this guide: https://learn.adafruit.com/debugging-the-samd21-with-gdb Port Specific modules --------------------- .. toctree:: ../../shared-bindings/samd/index