open-japanese-llm-leaderboard / .pre-commit-config.yaml
hysts's picture
hysts HF staff
Use ruff
95df80d
raw
history blame contribute delete
573 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/astral-sh/ruff-pre-commit
rev: v0.8.4
hooks:
- id: ruff
args: ["--select", "E,F,I,UP,W", "--ignore", "E501", "--fix"]
- id: ruff-format
args: ["--line-length", "119"]