commit | 98a790ed35ba482bc475d48a3593a62cb13c2023 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Sat Apr 20 00:14:51 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Apr 20 00:14:51 2024 +0000 |
tree | 6bb2729db32271f506e0ada543214d383d37144e | |
parent | d5104440ddda303acf012f09ac32c7c4bb7c074c [diff] |
pw_cli: Handle custom arguments in tools The GitRepo pw_cli class passed pw_presubmit-specific arguments to its configured ToolRunner backend, which caused failures in other tools which assumed all arguments were forwarded to `subprocess.run()`. This allows tools to explicitly accept custom arguments, while filtering out unexpected args by default. Change-Id: I93affd4aaf845f345f28915aeb911aef9c821a5d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/204192 Commit-Queue: Alexei Frolov <frolv@google.com> Reviewed-by: Armando Montanez <amontanez@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/.