Look at PRESUBMIT.cfg file to disable style checks
- Use ConfigParser to look for hooks to disable in PRESUBMIT.cfg file in
the project root.
- Add sample PRESUBMIT.cfg file that disables source style hooks.
- Add README file to explain PRESUBMIT.cfg.
- Add hint that directs user to README file for disabling hooks.
TEST=Test with and without PRESUBMIT.cfg file.
Test with and without disable flags in PRESUBMIT.cfg file
Test without [Disable] section in PRESUBMIT.cfg file
Reviewed-by: Mandeep Singh Baines <email@example.com>
Tested-by: Ryan Cui <firstname.lastname@example.org>
3 files changed