commit | c44730ee819a2500b8fb44dd95faf980d1590d73 | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Wed Dec 23 09:12:34 2020 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 23 17:43:11 2020 +0000 |
tree | e8e9fe5bb238196484d9797b93272f86ca98eca4 | |
parent | 76ee810f501f6313c8a28790143a79735e453622 [diff] |
pw_presubmit: Exclude patches from copyright check Change-Id: Ie763b0c8ebb3168286d58de959628de6d96e1cdc Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/28340 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py index b31a315..d75f498 100755 --- a/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py +++ b/pw_presubmit/py/pw_presubmit/pigweed_presubmit.py
@@ -281,6 +281,9 @@ r'\.pb\.h$', r'\.pb\.c$', r'\_pb2.pyi?$', + # Diff/Patch files + r'\.diff$', + r'\.patch$', )