1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-14 11:40:11 +01:00
LibreTranslate/.pre-commit-config.yaml
2024-02-05 15:16:32 -05:00

23 lines
644 B
YAML

# See https://pre-commit.com for more information
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: check-added-large-files
name: " 🐘 Check for added large files"
- id: check-toml
name: " ✔️ Check TOML"
- id: check-json
name: " ✔️ Check JSON"
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.277
hooks:
- id: ruff
name: " ⚡️ Formatting code with Ruff"
args:
- --fix
ci:
autofix_commit_msg: 🎨 [pre-commit] Auto format
autoupdate_commit_msg: ⬆ [pre-commit] pre-commit auto update