Skip to content

Commit f536b7b

Browse files
Fix CI and update CI jobs/pre-commit hooks (#586)
* Fix CI and update CI jobs/pre-commit hooks * [pre-commit.ci lite] apply automatic fixes * Fix more things --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent c334457 commit f536b7b

File tree

4 files changed

+510
-428
lines changed

4 files changed

+510
-428
lines changed

.github/workflows/precommit.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1616
with:
17-
submodules: "true"
17+
submodules: true
1818
fetch-depth: 2
1919
- name: Setup python
2020
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
@@ -25,5 +25,5 @@ jobs:
2525
sudo apt-get update
2626
sudo apt-get install -y hunspell hunspell-el gettext language-pack-el locales-all
2727
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
28-
- uses: pre-commit-ci/lite-action@9d882e7a565f7008d4faf128f27d1cb6503d4ebf # v1.0.2
28+
- uses: pre-commit-ci/lite-action@5d6cc0eb514c891a40562a58a8e71576c5c7fb43 # v1.1.0
2929
if: always()

.pre-commit-config.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # v4.6.0
3+
rev: cef0300fd0fc4d2a87a85fa2093c6b283ea36f4b # v5.0.0
44
hooks:
55
- id: file-contents-sorter
66
files: "dictionaries/main.txt"
@@ -10,7 +10,7 @@ repos:
1010
- id: end-of-file-fixer
1111

1212
- repo: https://git.afpy.org/AFPy/powrap
13-
rev: df2a0a54804a6146cc9fbffb77464d4b5fe24f41 # v1.0.1
13+
rev: 416de333cc58dce4453d1257769d7c9abdde95f7 # v1.0.2
1414
hooks:
1515
- id: powrap
1616

@@ -23,6 +23,6 @@ repos:
2323
- "--personal-dict=dictionaries/main.txt"
2424

2525
- repo: https://github.com/sphinx-contrib/sphinx-lint
26-
rev: ce6d7aeab24d60b6119dbad180540bf3c9ff31da # v0.9.1
26+
rev: ff671d6a030a3141634793e6d1e8909ab6091830 # v1.0.0
2727
hooks:
2828
- id: sphinx-lint

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ CPYTHON_CURRENT_COMMIT := 9cbde7c6ce6f7b93301a37f03dfa0c0d45e00a39
2626
CPYTHON_PATH := ./cpython
2727

2828
LANGUAGE := el
29-
TRANSLATION_BRANCH := main
3029
BRANCH := 3.12
3130

3231
EXCLUDED := whatsnew/ c-api/
@@ -119,7 +118,7 @@ wrap: ensure_prerequisites
119118
@echo "Verify wrapping"
120119
powrap --check --quiet *.po **/*.po
121120

122-
SRCS = $(shell git diff --name-only $(TRANSLATION_BRANCH) | grep '.po$$')
121+
SRCS = $(shell git diff --name-only $(BRANCH) | grep '.po$$')
123122
# foo/bar.po => $(POSPELL_TMP_DIR)/foo/bar.po.out
124123
DESTS = $(addprefix $(POSPELL_TMP_DIR)/,$(addsuffix .out,$(SRCS)))
125124

0 commit comments

Comments
 (0)