open-japanese-llm-leaderboard / .pre-commit-config.yaml
hysts's picture
hysts HF staff
Update .pre-commit-config.yaml
a9d88ba
raw
history blame
710 Bytes
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-case-conflict
- id: detect-private-key
- id: check-added-large-files
args: ["--maxkb=1000"]
- id: requirements-txt-fixer
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks:
- id: isort
name: Format imports
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 24.10.0
hooks:
- id: black
name: Format code
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.7.2
hooks:
- id: ruff