Skip to content

Commit 157de66

Browse files
committed
PR reviewer suggestions
1 parent 0844973 commit 157de66

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.pre-commit-config.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
# 'pre-commit autoupdate'
66

77
repos:
8-
- repo: https://github.com/AFPy/powrap
9-
rev: v1.0.1
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
1011
hooks:
1112
- id: powrap

README.rst

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ 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+
pre-commit install
9296
9397
在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork``
9498
按鈕),這樣會把整個專案複製一份到你的 GitHub 帳號底下,你可以對這個 fork

0 commit comments

Comments
 (0)