Update presubmit.py to use pw_presubmit

- Run presubmits with presubmit_tools's parse_args_and_run_presubmit.
  Running without arguments runs against the whole repo, as before.
- Move the call helper into presubmit_tools.py and expand it.
- Add gn_format and pylint presubmit checks.
- Add --check to gn invocation.

Change-Id: I5b20c2ccaac92d7550888aa2eed03043885e8502
2 files changed
tree: 185a176e410b25e7881aff9d1f03f8b5d27a0022
  1. docs/
  2. env_setup/
  3. pw_bloat/
  4. pw_build/
  5. pw_cmd/
  6. pw_docgen/
  7. pw_dumb_io/
  8. pw_dumb_io_baremetal_stm32f429/
  9. pw_dumb_io_stdio/
  10. pw_preprocessor/
  11. pw_presubmit/
  12. pw_span/
  13. pw_status/
  14. pw_string/
  15. pw_toolchain/
  16. pw_unit_test/
  17. targets/
  18. .clang-format
  19. .gitignore
  20. .gn
  21. AUTHORS
  22. BUILD
  23. BUILD.gn
  24. BUILDCONFIG.gn
  25. CONTRIBUTING.md
  26. LICENSE
  27. modules.gni
  28. presubmit.py
  29. pw_vars_default.gni
  30. README.md
  31. WORKSPACE
README.md

Pigweed embedded oriented software libraries

Pigweed is a collection of embedded-focused libraries, which we call "modules". These modules are designed for small-footprint MMU-less microcontrollers like the ST Micro STM32L452 or the Nordic NRF82832. The modules are designed to facilitate easy integration into existing codebases.

Pigweed is in the early stages of development.