GPT-SoVITS/.pre-commit-config.yaml
XXXXRT666 9d3c3a9584 Make Pre-Commit-Hook Exit 0 While Using Ruff Check
Modified gradio Layout
Refactor WebUI half-precision and GPU detection logic
2025-06-05 01:59:01 +08:00

16 lines
370 B
YAML

ci:
autoupdate_schedule: monthly
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.7
hooks:
# Run the linter.
- id: ruff
types_or: [ python, pyi ]
args: [ --fix , "--exit-zero" ]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi ]
args: [ --line-length, "120", --target-version, "py310" ]