mirror of
https://github.com/google/benchmark.git
synced 2025-02-26 11:20:28 +08:00
* Run `pre-commit autoupdate`, fix stale pyproject.toml comments * Set `--enable_bzlmod=false` for the moment Until the newer nanobind tags are pushed to the BCR, it's best to disable bzlmod for the bindings, because the Python CI breaks due to Bazel 7 enabling bzlmod by default. * Remove E203 ignore, add linebreaks to semantically group ruff options
18 lines
522 B
YAML
18 lines
522 B
YAML
repos:
|
|
- repo: https://github.com/keith/pre-commit-buildifier
|
|
rev: 6.4.0
|
|
hooks:
|
|
- id: buildifier
|
|
- id: buildifier-lint
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.7.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.1.7
|
|
hooks:
|
|
- id: ruff
|
|
args: [ --fix, --exit-non-zero-on-fix ]
|
|
- id: ruff-format |