Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit017f963

Browse files
authored
feat(script): run powrap in sync workflow (#1039)
* chore: upgrade powrap pre-commit hook* feat(script): run powrap in sync workflow
1 parentc3d3dee commit017f963

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

‎.github/workflows/py313-sync-cpython.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses:astral-sh/setup-uv@v6
3535

3636
-name:Sync with CPython
37-
run:make clone&& makemerge&& makerm_cpython
37+
run:make clone merge rm_cpython wrap
3838

3939
-uses:tibdex/github-app-token@v2
4040
id:generate-token

‎.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
repos:
88
-repo:https://git.afpy.org/AFPy/powrap
99
# there's no release tag in repo, use the latest commit hash id instead
10-
rev:a34a9fed116d24562fbe4bb8d456ade85f056c36
10+
rev:v1.0.2
1111
hooks:
1212
-id:powrap

‎Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ rm_cpython: ## Remove cloned cpython repo
156156
lint:$(VENV)/bin/sphinx-lint## Run sphinx-lint
157157
$(VENV)/bin/sphinx-lint --enable default-role
158158

159+
.PHONY: wrap
160+
wrap:## Run powrap on modified po files
161+
uvx powrap --modified
162+
159163
# This allows us to accept extra arguments (by doing nothing when we get a job that doesn't match, rather than throwing an error)
160164
%:
161165
@:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp