diff options
| author | 2024-07-15 12:07:01 +0000 | |
|---|---|---|
| committer | 2024-07-15 12:07:01 +0000 | |
| commit | e7ff88b19c867b003eb841ac94882f10c88a09cc (patch) | |
| tree | 00c735baa4208259080bf803e468e41119bb06c0 | |
| parent | 4232c17dc68c20b714e8b40b8588377c21c0167a (diff) | |
| parent | 54383e208949ca56115156093a64166e57108e37 (diff) | |
Merge "lint_fix update README" into main am: 710d149bc9 am: 54383e2089
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3168947
Change-Id: If9cdd73288563d47a65c93204d2873f434a4a720
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | tools/lint/fix/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lint/fix/README.md b/tools/lint/fix/README.md index a5ac2be1c18a..18bda9287a50 100644 --- a/tools/lint/fix/README.md +++ b/tools/lint/fix/README.md @@ -6,7 +6,7 @@ Inspiration: go/refactor-the-platform-with-lint\ It's a python script that runs the framework linter, and then (optionally) copies modified files back into the source tree.\ -Why python, you ask? Because python is cool ¯\_(ツ)_/¯. +Why python, you ask? Because python is cool ¯\\\_(ツ)\_/¯. Incidentally, this exposes a much simpler way to run individual lint checks against individual modules, so it's useful beyond applying fixes. @@ -15,7 +15,7 @@ against individual modules, so it's useful beyond applying fixes. Lint is not allowed to modify source files directly via lint's `--apply-suggestions` flag. As a compromise, soong zips up the (potentially) modified sources and leaves them in an intermediate -directory. This script runs the lint, unpacks those files, and copies them back into the tree. +directory. This script runs the lint, unpacks those files, and copies them back into the tree. ## How do I run it? **WARNING: You probably want to commit/stash any changes to your working tree before doing this...** |