Ver Fonte

Update pre-commit hook

Lengyue há 2 anos atrás
pai
commit
6d57066e52
7 ficheiros alterados com 14 adições e 6 exclusões
  1. 11 0
      .pre-commit-config.yaml
  2. 0 1
      README.md
  3. 0 1
      docker-compose.dev.yml
  4. 1 1
      docs/CNAME
  5. 0 1
      docs/en/index.md
  6. 1 1
      docs/stylesheets/extra.css
  7. 1 1
      pyrightconfig.json

+ 11 - 0
.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']

+ 0 - 1
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)
-

+ 0 - 1
docker-compose.dev.yml

@@ -15,4 +15,3 @@ services:
               count: all
               capabilities: [gpu]
     command: tail -f /dev/null
-

+ 1 - 1
docs/CNAME

@@ -1 +1 @@
-speech.fish.audio
+speech.fish.audio

+ 0 - 1
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)
-

+ 1 - 1
docs/stylesheets/extra.css

@@ -3,4 +3,4 @@
 }
 .md-tabs {
   display: none;
-}
+}

+ 1 - 1
pyrightconfig.json

@@ -3,4 +3,4 @@
         "data",
         "filelists"
     ]
-}
+}