Skip to content

SOTA Open Source TTS

Add pre-commit config

Lengyue4b27f600b329
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 0000000..830e069
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,19 @@
+ci:
+ autoupdate_schedule: monthly
+
+repos:
+ - repo: https://github.com/pycqa/isort
+ rev: 5.12.0
+ hooks:
+ - id: isort
+
+ - repo: https://github.com/psf/black
+ rev: 23.7.0
+ hooks:
+ - id: black
+
+ - repo: https://github.com/codespell-project/codespell
+ rev: v2.2.5
+ hooks:
+ - id: codespell
+ files: ^.*\.(py|md|rst|yml)$