commit | 9de912e009a133b25315f1f2c7007bd502a2511b | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Thu Sep 23 14:18:47 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 23 22:32:41 2021 +0000 |
tree | 823736d1932997fa725924e05923a524c2277615 | |
parent | 4c227c2fad5d493894e8802dfe5eb8788d531a91 [diff] |
pw_presubmit: Make with_filter() args keyword-only Change-Id: I1ee8c442a122982324595435ea0f259e18a19f5f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/62060 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pw_presubmit/py/pw_presubmit/presubmit.py b/pw_presubmit/py/pw_presubmit/presubmit.py index f733902..d9a6377 100644 --- a/pw_presubmit/py/pw_presubmit/presubmit.py +++ b/pw_presubmit/py/pw_presubmit/presubmit.py
@@ -496,6 +496,7 @@ def with_filter( self, + *, endswith: Iterable[str] = '', exclude: Iterable[Union[Pattern[str], str]] = () ) -> Check: