commit | 56ae0e10f9fd51a2291c4e5a2a14fcb6bc269928 | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@pigweed.infra.roller.google.com> | Tue Aug 09 17:29:25 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 09 17:29:25 2022 +0000 |
tree | 28d7ca9a8768130fff010e6931bfd0caa212aac5 | |
parent | af067f3cbb22338841866911dc4b85c92f8333c9 [diff] |
[roll pigweed] 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. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/105400 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: 0f9876351caed98..de62a2de159d920 Roller-URL: https://ci.chromium.org/b/8806288470775517777 Cq-Cl-Tag: roller-builder:pigweed-zephyr-roller Cq-Cl-Tag: roller-bid:8806288470775517777 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I69d5939c9c83901b58a6838c49bcee75223383a6 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/105600 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>