aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2020-02-15 00:22:11 +0000
committerMike Frysinger <vapier@google.com>2020-02-15 00:22:11 +0000
commit030a5eb36545beb1856c8c0e4c8f60637abe82a2 (patch)
treec203fe2ad956901bb14d68c36abae65d846fb889
parent3e631f866e339661bb23eb60de0f0ad963b8d10e (diff)
parent0f5c4fea8c9f06ef15b2d7680d33190507945e82 (diff)
downloadrepohooks-temp_273316506_tm-qpr2.tar.gz
Change-Id: I127cd6e9ead83c9150d62fdafcd86a78e3819599
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 6deec17..43a72d5 100644
--- a/README.md
+++ b/README.md
@@ -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