commit | a19b9fd3a8b35d5d206a1793f19be6398d49c90f | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Thu Jan 26 04:18:30 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 26 04:18:30 2023 +0000 |
tree | 67043a44fbc73856db947008f15d472f1ca0dac1 | |
parent | 352fe28de3f34675ed30553629590aa329d66f98 [diff] |
pw_presubmit: Allow customizing black Allow customizing the executable used for black. Also, explicitly specify a config file for black if one is present in a couple locations. It now looks at the following locations, in order: * $PW_PROJECT_ROOT/.black.toml * $PW_PROJECT_ROOT/pyproject.toml * $PW_ROOT/.black.toml * $PW_ROOT/pyproject.toml Bug: b/264578594 Change-Id: Ic1ea174ca286b6f7ffd262da3dea4d83bff27c99 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126211 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.