Skip to content

Add patch for pre-commit hooks and license specification#410

Open
tekktrik wants to merge 1 commit intoadafruit:mainfrom
tekktrik:dev/patch-pc-license
Open

Add patch for pre-commit hooks and license specification#410
tekktrik wants to merge 1 commit intoadafruit:mainfrom
tekktrik:dev/patch-pc-license

Conversation

@tekktrik
Copy link
Member

@tekktrik tekktrik commented Mar 20, 2026

PLEASE APPROVE WITH adafruit/cookiecutter-adafruit-circuitpython#261

Part of #407

Applies a patch that updates the pre-commit hooks (importantly reuse) as well as fixes the license specification in pyproject.toml. I dry-ran the patch and here are the currently expected results:

> python -m adabot.circuitpython_library_patches --dry-run --local -p 19MAR2026-Pre-Commit-Hooks-License.patch 
.... Beginning Patch Updates ....
.... Working directory: /home/tekktrik/Documents/Repositories/adabot
.... Library directory: /home/tekktrik/Documents/Repositories/adabot/.libraries/
.... Patches directory: /home/tekktrik/Documents/Repositories/adabot/patches/
.... Deleting any previously cloned libraries
.... Running Patch Checks On 406 Repos ....
   . Skipping Adafruit_CircuitPython_MFRC630: No such file or directory
   . Skipping Adafruit_CircuitPython_AT86RF233: No such file or directory
   . Skipping Adafruit_CircuitPython_Debug_Bus_Device: No such file or directory
   . Skipping Adafruit_CircuitPython_Debug_SPI: No such file or directory
   . Skipping Adafruit_CircuitPython_MachXO: No such file or directory
   . Skipping Adafruit_CircuitPython_JTAG: No such file or directory
   . Skipping Adafruit_CircuitPython_MCU_Flasher: patch does not apply
   . Skipping Adafruit_CircuitPython_Debug_Probe: patch does not apply
   . Skipping Adafruit_CircuitPython_Register_SPI: patch does not apply
   . Skipping Adafruit_CircuitPython_BLE_Creation: patch does not apply
   . Skipping Adafruit_CircuitPython_TestRepo: patch does not apply
   . Skipping Adafruit_CircuitPython_Fake_BME280: patch does not apply
   . Skipping Adafruit_CircuitPython_Base64_Stream: patch does not apply
   . Skipping Adafruit_CircuitPython_ICN6211: patch does not apply
   . Skipping Adafruit_CircuitPython_MiniMQTT: patch does not apply
   . Skipping Adafruit_CircuitPython_AS7343: patch does not apply
   . Skipping Adafruit_CircuitPython_STCC4: patch does not apply
   . Skipping Adafruit_CircuitPython_TCS3430: patch does not apply
   . Skipping Adafruit_CircuitPython_Bundle: No such file or directory
.... Patch Updates Completed ....
.... Patches Applied: 385
.... Patches Skipped: 19
.... Patches Failed: 2 

.... Patch Check Failure Report ....
>> Repo: Adafruit_CircuitPython_ULP_Blink       Patch: 19MAR2026-Pre-Commit-Hooks-License.patch
   Error: pyproject.toml: No such file or directory 
>> Repo: Adafruit_CircuitPython_Intellikeys     Patch: 19MAR2026-Pre-Commit-Hooks-License.patch
   Error: pyproject.toml: No such file or directory 


.... Patch Apply Failure Report ....
No Failures

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.

1 participant