diff options
author | Mike Frysinger <vapier@google.com> | 2020-02-15 00:22:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2020-02-15 00:22:11 +0000 |
commit | 030a5eb36545beb1856c8c0e4c8f60637abe82a2 (patch) | |
tree | c203fe2ad956901bb14d68c36abae65d846fb889 | |
parent | 3e631f866e339661bb23eb60de0f0ad963b8d10e (diff) | |
parent | 0f5c4fea8c9f06ef15b2d7680d33190507945e82 (diff) | |
download | repohooks-temp_273316506_tm-qpr2.tar.gz |
README: fix up a few header levels am: 0f5c4fea8ctemp_sam_242648940temp_sam_168057903temp_QQ3A.200605.002temp_273316506_tm-qpr2sam_222710654
Change-Id: I127cd6e9ead83c9150d62fdafcd86a78e3819599
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,13 +1,13 @@ # AOSP Preupload Hooks -[TOC] - This repo holds hooks that get run by repo during the upload phase. They perform various checks automatically such as running linters on your code. Note: Currently all hooks are disabled by default. Each repo must explicitly turn on any hook it wishes to enforce. +[TOC] + ## Usage Normally these execute automatically when you run `repo upload`. If you want to @@ -240,13 +240,13 @@ These are notes for people updating the `pre-upload.py` hook itself: * New hooks can be added in `rh/hooks.py`. Be sure to keep the list up-to-date with the documentation in this file. -### Warnings +## Warnings If the return code of a hook is 77, then it is assumed to be a warning. The output will be printed to the terminal, but uploading will still be allowed without a bypass being required. -## TODO/Limitations +# TODO/Limitations * `pylint` should support per-directory pylintrc files. * Some checkers operate on the files as they exist in the filesystem. This is |