Rubik-Tensor / .pre-commit-config.yaml
JBAujogue's picture
edit pre-commit hooks
8e85231
Raw History Blame Contribute Delete
611 Bytes
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: [--maxkb=5000]
- id: detect-private-key
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.7.13
hooks:
- id: uv-lock
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.0
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.16.1
hooks:
- id: mypy
exclude: '^(?!src).*'
- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
hooks:
- id: nbstripout