mirror of
https://github.com/google/benchmark.git
synced 2024-12-25 20:10:13 +08:00
a6af6eeb6a
Also contains a run of `pre-commit autoupdate`, and a bump of cibuildwheel to its latest tag for CPython 3.13 support. But, since we build for 3.10+ with SABI from 3.12 onwards, we don't even need a dedicated Python 3.13 build job or toolchain - the wheels from 3.12 can be reused. Simplifies some version-dependent logic around assembling the bazel build command in setup.py, and fixes a possible unbound local error in the toolchain patch context manager.
19 lines
524 B
YAML
19 lines
524 B
YAML
repos:
|
|
- repo: https://github.com/keith/pre-commit-buildifier
|
|
rev: 7.3.1
|
|
hooks:
|
|
- id: buildifier
|
|
- id: buildifier-lint
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.13.0
|
|
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
|
|
hooks:
|
|
- id: ruff
|
|
args: [ --fix, --exit-non-zero-on-fix ]
|
|
- id: ruff-format
|