Ruff lint: relint tools (part 2/4: gerrit .. origin_trials).

Migrate tools/ subdirectories (gerrit through origin_trials, excluding
metrics) from Pylint to Ruff for Python linting. Subdirectory
PRESUBMIT.py files drop legacy RunPylint and GetPylint calls, 4-space
subdirectory .ruff.toml files extend tools/.ruff.toml, redundant 2-space
.ruff.toml files are removed, and legacy pylint comments are cleaned up
without deleting imports or adding inline noqa comments.

LSC Doc: https://docs.google.com/document/d/1QRhY2yqlicseeVRVLa_gk4YXL4IBSM913-ZW1SdPZLU/edit?tab=t.0

Bug: 539486220
Change-Id: I81d598bea2e15007a4451d987dd749b7f5413e6f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8497460
Reviewed-by: Junji Watanabe <jwata@google.com>
Commit-Queue: Alex Ovsienko <ovsienko@google.com>
Owners-Override: Alex Ovsienko <ovsienko@google.com>
Cr-Commit-Position: refs/heads/main@{#1714129}
NOKEYCHECK=True
GitOrigin-RevId: 109d391820660a399bd6e80dd08c71f57b56a3c9
1 file changed
tree: ab69053516b284b1f214676a1b14cf8dc6ccc060
  1. asan/
  2. mac/
  3. partition_allocator/
  4. sanitizer/
  5. simulator/
  6. tsan_v2/
  7. BUILD.gn
  8. OWNERS