From 0389a97b69a85e82c2ac3a31712ca0003cf1ed40 Mon Sep 17 00:00:00 2001 From: Snowykami Date: Fri, 13 Dec 2024 03:46:15 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E6=9B=B4=E6=96=B0=E5=BC=80?= =?UTF-8?q?=E5=8F=91=E4=BE=9D=E8=B5=96=E9=83=A8=E5=88=86=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20pre-commit=20=E5=AE=89=E8=A3=85=E8=AF=B4=E6=98=8E?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E5=85=B6=E4=BB=96=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README_DEV.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README_DEV.md b/README_DEV.md index 34438490..e2699035 100644 --- a/README_DEV.md +++ b/README_DEV.md @@ -6,10 +6,14 @@ - mypy 类型检查 - black 格式化 -## 依赖 +## 开发依赖 -- pre-commit +- pre-commit,确保代码质量合格才可以提交 + +```bash +pre-commit install +``` ## 其他提示 -- 请勿在大小写不敏感的文件系统或操作系统中开发,否则可能会导致文件名大小写问题(例如Windows, APFS(不区分大小写)) \ No newline at end of file +- 请勿在大小写不敏感的文件系统或操作系统中开发,否则可能会导致文件名大小写问题(例如Windows, APFS(不区分大小写)等) \ No newline at end of file