circuitpython/ports/broadcom
Jeff Epler 907c5d387f
Tweak black_bindings
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.
2022-09-30 11:18:13 -05:00
..
bindings/videocore Tweak black_bindings 2022-09-30 11:18:13 -05:00
boards Add LED pin definition to Zero 2W board 2022-09-10 23:18:25 -04:00
common-hal Merge pull request #6933 from jepler/🥧🐮 2022-09-28 18:09:24 -04:00
firmware@bf96d0eda5 Full UART support for RPI 2021-12-06 18:36:14 -08:00
peripherals@0837008608 Update tinyusb for zero support 2022-01-06 08:52:33 -08:00
supervisor Start of USB host API 2022-03-07 18:07:25 -08:00
Makefile Fix default BOARD setting & messages 2022-07-07 17:17:15 -05:00
background.c Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
background.h Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
broadcom_peripherals_config.h Add full pin mux info and use it for I2C 2021-12-01 17:19:57 -08:00
config.txt Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
fatfs_port.c Initial broadcom port for Raspberry Pi 2021-11-22 14:54:44 -08:00
mpconfigport.h Remove CIRCUITPY_CONSOLE_UART_TX/RX 2022-09-10 21:33:29 -04:00
mpconfigport.mk Change I2C terminology from "peripheral" to "target" 2022-08-09 13:13:19 -04:00
mphalport.c Initial Pi Zero support 2021-12-30 18:32:59 -08:00
mphalport.h Piunora + full build + high speed usb 2022-01-07 11:23:50 -08:00
qstrdefsport.h uncrustify fixes 2021-12-06 09:54:15 -05:00