pw_presubmit: Make copyright check more forgiving Be more flexible with whitespace in the copyright check. After updating to Go v1.19 (pwrev/105381) 'go fmt' wants to change repeated spaces in comments into tabs. Continue to require the content of the copyright lines match, but be flexible about the whitespace around that content for *.go files. Also, fix the things 'go fmt' wants to fix. Change-Id: I442f9d5497bef19d8a3deee0481c6e9f70201e72 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/105400 Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Wyatt Hepler <hepler@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/.