forked from python/python-docs-zh-tw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pre-commit with powrap (python#608)
* feat: add pre-commit to format po files * feat: use powrap native pre-commit hook * PR reviewer suggestions * chore(readme): add installation cmd for pre-commit --------- Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
- Loading branch information
1 parent
22c5f1d
commit 3e12ad2
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Install the pre-commit hooks below with | ||
# 'pre-commit install' | ||
|
||
# Auto-update the version of the hooks with | ||
# 'pre-commit autoupdate' | ||
|
||
repos: | ||
- repo: https://git.afpy.org/AFPy/powrap | ||
# there's no release tag in repo, use the latest commit hash id instead | ||
rev: a34a9fed116d24562fbe4bb8d456ade85f056c36 | ||
hooks: | ||
- id: powrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters