commit | 40b9db09c7b1e46320d2733d0cbdb646c0c56e3d | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Tue Sep 14 15:18:14 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 14 23:51:23 2021 +0000 |
tree | dc35d14d93443a7d08d87ccb425c14fcdace35a4 | |
parent | f463acd51147efa06d4857be1ae0a7ea64aafc23 [diff] |
pw_presubmit: Add with_filter() method to Check Rename _Check to Check so it can be used as a decorator. Then add a with_filter() method to Check objects, so it's simple to reuse imported checks but apply additional filters to them. Change-Id: I3917e2d7a5fa74577eba5599b024dcf4d102c112 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60920 Reviewed-by: Wyatt Hepler <hepler@google.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
See our website: http://pigweed.dev