mirror of https://github.com/google/benchmark.git
26 lines
704 B
YAML
26 lines
704 B
YAML
repos:
|
|
- repo: https://github.com/keith/pre-commit-buildifier
|
|
rev: 6.3.3.1
|
|
hooks:
|
|
- id: buildifier
|
|
- id: buildifier-lint
|
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
rev: v1.6.1
|
|
hooks:
|
|
- id: mypy
|
|
types_or: [ python, pyi ]
|
|
args: [ "--ignore-missing-imports", "--scripts-are-modules" ]
|
|
- repo: https://github.com/psf/black
|
|
rev: 23.10.1
|
|
hooks:
|
|
- id: black
|
|
- repo: https://github.com/pycqa/isort
|
|
rev: 5.12.0
|
|
hooks:
|
|
- id: isort
|
|
args: [--profile, black]
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.1.3
|
|
hooks:
|
|
- id: ruff
|
|
args: [ --fix, --exit-non-zero-on-fix ] |