mirror of https://github.com/coqui-ai/TTS.git
25 lines
710 B
YAML
25 lines
710 B
YAML
repos:
|
|
- repo: "https://github.com/pre-commit/pre-commit-hooks"
|
|
rev: v4.5.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- repo: "https://github.com/psf/black"
|
|
rev: 24.2.0
|
|
hooks:
|
|
- id: black
|
|
language_version: python3
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.3.0
|
|
hooks:
|
|
- id: ruff
|
|
args: [--fix, --exit-non-zero-on-fix]
|
|
- repo: local
|
|
hooks:
|
|
- id: generate_requirements.py
|
|
name: generate_requirements.py
|
|
language: system
|
|
entry: python scripts/generate_requirements.py
|
|
files: "pyproject.toml|requirements.*\\.txt|tools/generate_requirements.py"
|