mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-15 12:00:33 +01:00
d382227674
The YAML validation step is currently failing
on the chart directory. This commit removes the
YAML check.
Error:
$ hatch run test
✔️ Check YAML..........................................................Failed
- hook id: check-yaml
- exit code: 1
while parsing a flow node
did not find expected node content
in "chart/templates/pvc.yaml", line 1, column 3
while parsing a flow node
did not find expected node content
in "chart/templates/statefulset.yaml", line 6, column
25 lines
723 B
YAML
25 lines
723 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"
|
|
- id: trailing-whitespace
|
|
name: " ✂️ Trim trailing whitespaces"
|
|
- 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
|