Skip to content

SOTA Open Source TTS

Update pre-commit hook

Lengyue6d57066e52a7
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 61707de..5270168 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -18,3 +18,14 @@ repos:
hooks:
- id: codespell
files: ^.*\.(py|md|rst|yml)$
+
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.5.0
+ hooks:
+ - id: end-of-file-fixer
+ - id: check-yaml
+ - id: check-json
+ - id: mixed-line-ending
+ args: ['--fix=lf']
+ - id: check-added-large-files
+ args: ['--maxkb=5000']
diff --git a/README.md b/README.md
index 014521c..64f6bc6 100644
--- a/README.md
+++ b/README.md
@@ -19,4 +19,3 @@ We do not hold any responsibility for any illegal usage of the codebase. Please
- [GPT VITS](https://github.com/innnky/gpt-vits)
- [MQTTS](https://github.com/b04901014/MQTTS)
- [GPT Fast](https://github.com/pytorch-labs/gpt-fast)
-
diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml
index 4eae328..08ddd7e 100644
--- a/docker-compose.dev.yml
+++ b/docker-compose.dev.yml
@@ -15,4 +15,3 @@ services:
count: all
capabilities: [gpu]
command: tail -f /dev/null
-
diff --git a/docs/CNAME b/docs/CNAME
index c82f64e..d506fb8 100644
--- a/docs/CNAME
+++ b/docs/CNAME
@@ -1 +1 @@
-speech.fish.audio
\ No newline at end of file
+speech.fish.audio
diff --git a/docs/en/index.md b/docs/en/index.md
index f29b94a..0fb2218 100644
--- a/docs/en/index.md
+++ b/docs/en/index.md
@@ -43,4 +43,3 @@ pip3 install -e .
- [GPT VITS](https://github.com/innnky/gpt-vits)
- [MQTTS](https://github.com/b04901014/MQTTS)
- [GPT Fast](https://github.com/pytorch-labs/gpt-fast)
-
diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css
index bb0aba9..a241608 100644
--- a/docs/stylesheets/extra.css
+++ b/docs/stylesheets/extra.css
@@ -3,4 +3,4 @@
}
.md-tabs {
display: none;
-}
\ No newline at end of file
+}
diff --git a/pyrightconfig.json b/pyrightconfig.json
index d72b55e..ad14935 100644
--- a/pyrightconfig.json
+++ b/pyrightconfig.json
@@ -3,4 +3,4 @@
"data",
"filelists"
]
-}
\ No newline at end of file
+}