mirror of
https://github.com/google/benchmark.git
synced 2025-03-14 03:10:22 +08:00
ci: Update pre-commit hooks (#1905)
As a fix, also turn the comment in libpfm's build file into a proper Starlark docstring. Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
This commit is contained in:
parent
4834ae9e57
commit
d6536acfe8
@ -1,17 +1,17 @@
|
||||
repos:
|
||||
- repo: https://github.com/keith/pre-commit-buildifier
|
||||
rev: 7.3.1
|
||||
rev: 8.0.0
|
||||
hooks:
|
||||
- id: buildifier
|
||||
- id: buildifier-lint
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v1.13.0
|
||||
rev: v1.14.1
|
||||
hooks:
|
||||
- id: mypy
|
||||
types_or: [ python, pyi ]
|
||||
args: [ "--ignore-missing-imports", "--scripts-are-modules" ]
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.7.2
|
||||
rev: v0.9.1
|
||||
hooks:
|
||||
- id: ruff
|
||||
args: [ --fix, --exit-non-zero-on-fix ]
|
||||
|
@ -1,5 +1,4 @@
|
||||
# Build rule for libpfm, which is required to collect performance counters for
|
||||
# BENCHMARK_ENABLE_LIBPFM builds.
|
||||
"""Build rule for libpfm, which is required to collect performance counters for BENCHMARK_ENABLE_LIBPFM builds."""
|
||||
|
||||
load("@rules_foreign_cc//foreign_cc:defs.bzl", "make")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user