File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 1+ # Install the pre-commit hooks below with
2+ # 'pre-commit install'
3+
4+ # Auto-update the version of the hooks with
5+ # 'pre-commit autoupdate'
6+
7+ repos :
8+ - repo : https://git.afpy.org/AFPy/powrap
9+ # there's no release tag in repo, use the latest commit hash id instead
10+ rev : a34a9fed116d24562fbe4bb8d456ade85f056c36
11+ hooks :
12+ - id : powrap
Original file line number Diff line number Diff line change @@ -89,6 +89,11 @@ the PSF for inclusion in the documentation.
8989 brew install gettext
9090
9191 brew link gettext --force
92+ - 安裝 pre-commit 自動在 commit 時檢查 ``.po `` 檔格式。
93+ .. code-block :: bash
94+
95+ pip install pre-commit
96+ pre-commit install
9297
9398 在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork ``
9499按鈕),這樣會把整個專案複製一份到你的 GitHub 帳號底下,你可以對這個 fork
You can’t perform that action at this time.
0 commit comments