[roll third_party/pigweed] 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.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/60920

https://pigweed.googlesource.com/pigweed/pigweed
third_party/pigweed Rolled-Commits: f463acd51147efa..40b9db09c7b1e46
Roller-URL: https://ci.chromium.org/b/8836070530129306641
Cq-Cl-Tag: roller-builder:pigweed-experimental-roller
Cq-Cl-Tag: roller-bid:8836070530129306641
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: Iabb4d528dd058b992b281eb60347fd259c07ab9f
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/61021
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>
1 file changed
tree: 9f63eacdd7530cedfffb8265073e77e423acddc8
  1. .gitattributes
  2. .gitignore
  3. .gitmodules
  4. .gn
  5. BUILD.gn
  6. BUILDCONFIG.gn
  7. PW_PLUGINS
  8. README.md
  9. activate.bat
  10. applications/
  11. banner.txt
  12. bootstrap.bat
  13. bootstrap.sh
  14. build_overrides/
  15. env_setup.json
  16. navbar.md
  17. pw_board_led/
  18. pw_board_led_arduino/
  19. pw_board_led_host/
  20. pw_board_led_stm32cube/
  21. pw_board_led_stm32f429i_disc1/
  22. pw_spin_delay/
  23. pw_spin_delay_arduino/
  24. pw_spin_delay_host/
  25. pw_spin_delay_stm32cube/
  26. pw_spin_delay_stm32f429i_disc1/
  27. pw_sys_io_stm32cube/
  28. targets/
  29. third_party/
  30. tools/
README.md

Pigweed Experimental

This repository contains experimental pigweed modules.

Repository setup

Clone this repo with --recursive to get all required submodules.

git clone --recursive https://pigweed.googlesource.com/pigweed/experimental

This will pull the Pigweed source repository into third_party/pigweed. If you already cloned but forgot to --recursive run git submodule update --init to pull all submodules.