third-party/benchmark/.pre-commit-config.yaml
raw| 1 | repos: |
| 2 | - repo: https://github.com/keith/pre-commit-buildifier |
| 3 | rev: 6.4.0 |
| 4 | hooks: |
| 5 | - id: buildifier |
| 6 | - id: buildifier-lint |
| 7 | - repo: https://github.com/pre-commit/mirrors-mypy |
| 8 | rev: v1.8.0 |
| 9 | hooks: |
| 10 | - id: mypy |
| 11 | types_or: [ python, pyi ] |
| 12 | args: [ "--ignore-missing-imports", "--scripts-are-modules" ] |
| 13 | - repo: https://github.com/astral-sh/ruff-pre-commit |
| 14 | rev: v0.1.13 |
| 15 | hooks: |
| 16 | - id: ruff |
| 17 | args: [ --fix, --exit-non-zero-on-fix ] |
| 18 | - id: ruff-format |