tricium_clang_tidy: normalize paths in notes & their expansion locs

This fixes a bug where we'd end up with absolute paths in clang-tidy
notes.

Bug: 1157503
Change-Id: I5b3930a62cd467c54545271e991f20b83dc1f30b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2589464
Commit-Queue: Quinten Yearsley <qyearsley@chromium.org>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
2 files changed
tree: 4a25bc282c3e073ea0961606968a9e9d292abae6
  1. infra/
  2. recipes/
  3. scripts/
  4. site_config/
  5. third_party/
  6. .gitattributes
  7. .gitignore
  8. .style.yapf
  9. .vpython
  10. .yapfignore
  11. codereview.settings
  12. CROS_OWNERS
  13. DEPS
  14. environment.cfg.py
  15. LICENSE
  16. OWNERS
  17. PRESUBMIT.py
  18. README.md
  19. WATCHLISTS
README.md

Recipes

If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*), please take a look at the README for more information pertaining to recipes.

Style

The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores, with the exception of the special functions RunSteps and RunTests in recipes. Use yapf (git cl format --no-clang-format) to autoformat new code.