Skip to content

Commit 5a3f676

Browse files
committed
chore(deps): merge repo-template
Signed-off-by: Ian Lewis <ian@ianlewis.org>
2 parents d305db0 + e0cbb10 commit 5a3f676

20 files changed

+1376
-749
lines changed

.aqua-checksums.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,65 @@
11
{
22
"checksums": [
3+
{
4+
"id": "github_release/github.com/astral-sh/ruff/0.12.9/ruff-aarch64-apple-darwin.tar.gz",
5+
"checksum": "68CB47F9A98E17C59E861C3B635B32C5212DEFD21A4EC0B5C1D56950D06076E5",
6+
"algorithm": "sha256"
7+
},
8+
{
9+
"id": "github_release/github.com/astral-sh/ruff/0.12.9/ruff-aarch64-pc-windows-msvc.zip",
10+
"checksum": "C747D2CA1BD3BB6DF0A2AF31F39A53180F2BF556242E5380C495CBD7056C10BE",
11+
"algorithm": "sha256"
12+
},
13+
{
14+
"id": "github_release/github.com/astral-sh/ruff/0.12.9/ruff-aarch64-unknown-linux-musl.tar.gz",
15+
"checksum": "DCA567860383BB6A7B021DAB76C616B02ED9A268516A0A1A1DCE56EE482740D7",
16+
"algorithm": "sha256"
17+
},
18+
{
19+
"id": "github_release/github.com/astral-sh/ruff/0.12.9/ruff-x86_64-apple-darwin.tar.gz",
20+
"checksum": "CC8195F89146268086E99225316B4214100EB78010AA84B9E650F8322D5790F0",
21+
"algorithm": "sha256"
22+
},
23+
{
24+
"id": "github_release/github.com/astral-sh/ruff/0.12.9/ruff-x86_64-pc-windows-msvc.zip",
25+
"checksum": "9D360DFD4CA5F688AABF542C570644FAB8B02A3C0E71460CF51FC4869DF03BA6",
26+
"algorithm": "sha256"
27+
},
28+
{
29+
"id": "github_release/github.com/astral-sh/ruff/0.12.9/ruff-x86_64-unknown-linux-musl.tar.gz",
30+
"checksum": "C177D59D4C6347ABBF08C8943EFF919432D5C70229A0DD6390E5697D393A9C05",
31+
"algorithm": "sha256"
32+
},
33+
{
34+
"id": "github_release/github.com/astral-sh/ruff/0.13.3/ruff-aarch64-apple-darwin.tar.gz",
35+
"checksum": "A170EAD9A9F03527DBA3D2FB3E9E445F73D9EFE3584C3307F3D30C6D5F31C487",
36+
"algorithm": "sha256"
37+
},
38+
{
39+
"id": "github_release/github.com/astral-sh/ruff/0.13.3/ruff-aarch64-pc-windows-msvc.zip",
40+
"checksum": "382C0C3948330F8ABE0B5349C41AA80A01A6C54201F2312EF41152A057008BCE",
41+
"algorithm": "sha256"
42+
},
43+
{
44+
"id": "github_release/github.com/astral-sh/ruff/0.13.3/ruff-aarch64-unknown-linux-musl.tar.gz",
45+
"checksum": "4301D51FD2FBCE6D4CC55613E5F8F96EE4FCB8DCAEC8419023FE555575CF78F6",
46+
"algorithm": "sha256"
47+
},
48+
{
49+
"id": "github_release/github.com/astral-sh/ruff/0.13.3/ruff-x86_64-apple-darwin.tar.gz",
50+
"checksum": "1C3A291A595DDD08398EB1E06FBA883B7D8D715BD4255AF5972F858FEC8B4E57",
51+
"algorithm": "sha256"
52+
},
53+
{
54+
"id": "github_release/github.com/astral-sh/ruff/0.13.3/ruff-x86_64-pc-windows-msvc.zip",
55+
"checksum": "01E7CE81E052AD8788D6A9BFFBCE74524D80FBF0659E6194165D1E1D3DED9F39",
56+
"algorithm": "sha256"
57+
},
58+
{
59+
"id": "github_release/github.com/astral-sh/ruff/0.13.3/ruff-x86_64-unknown-linux-musl.tar.gz",
60+
"checksum": "8D24D74171772C67366D3187B990A3DC706022AA3A631B2A612D12E362F226C7",
61+
"algorithm": "sha256"
62+
},
363
{
464
"id": "github_release/github.com/checkmake/checkmake/0.2.2/checkmake-0.2.2.darwin.amd64",
565
"checksum": "AFAA325D2348043F9A60D3D7BA7803A0A54B760095EA03837C4DE357C75478EF",
@@ -269,6 +329,11 @@
269329
"id": "registries/github_content/github.com/aquaproj/aqua-registry/v4.419.0/registry.yaml",
270330
"checksum": "015FCF0BC87EB881A1895AA9CD75CFC9F0BF7D23363E4B39041E5728D0F3DF80",
271331
"algorithm": "sha256"
332+
},
333+
{
334+
"id": "registries/github_content/github.com/aquaproj/aqua-registry/v4.421.0/registry.yaml",
335+
"checksum": "28F12785429274ADCFA97906A10D80FFC44D0FAEF7CF1560119A31EA218C118E0C173C7FAEDDE31449665D25741B12F40EF3FFFCA4540947BE96D5CD370A92DE",
336+
"algorithm": "sha512"
272337
}
273338
]
274339
}

.aqua.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ checksum:
2323
- all
2424
registries:
2525
- type: standard
26-
ref: v4.419.0 # renovate: depName=aquaproj/aqua-registry
26+
ref: v4.421.0 # renovate: depName=aquaproj/aqua-registry
2727
packages:
2828
- name: rhysd/actionlint@v1.7.7
2929
- name: koalaman/shellcheck@v0.11.0
3030
- name: jqlang/jq@jq-1.8.1
3131
- name: ianlewis/todos@v0.13.0
3232
- name: checkmake/checkmake@0.2.2
33+
- name: astral-sh/ruff@0.13.3

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ charset = utf-8
1414
trim_trailing_whitespace = true
1515

1616
# tab-width of 4 is recommended for Markdown files.
17-
[*.md]
17+
[{*.md,*.py}]
1818
indent_style = space
1919
indent_size = 4
2020

.github/workflows/pull_request.tests.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ permissions:
3131
# just a human-readable label.
3232

3333
jobs:
34+
# tests
35+
###############################
36+
unit-test:
37+
uses: ./.github/workflows/workflow_call.unit-test.yml
38+
secrets:
39+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
40+
3441
# format-check
3542
###############################
3643
format-check:
@@ -53,9 +60,15 @@ jobs:
5360
markdownlint:
5461
uses: ./.github/workflows/workflow_call.markdownlint.yml
5562

63+
mypy:
64+
uses: ./.github/workflows/workflow_call.mypy.yml
65+
5666
renovate-config-validator:
5767
uses: ./.github/workflows/workflow_call.renovate-config-validator.yml
5868

69+
ruff:
70+
uses: ./.github/workflows/workflow_call.ruff.yml
71+
5972
textlint:
6073
uses: ./.github/workflows/workflow_call.textlint.yml
6174

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Copyright 2024 Ian Lewis
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: mypy
16+
17+
on:
18+
workflow_call:
19+
20+
permissions:
21+
contents: read
22+
23+
jobs:
24+
mypy:
25+
name: mypy
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29+
with:
30+
submodules: true
31+
persist-credentials: false
32+
33+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
34+
with:
35+
python-version-file: ".python-version"
36+
37+
- run: make mypy
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright 2025 Ian Lewis
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: ruff
16+
17+
on:
18+
workflow_call:
19+
20+
permissions:
21+
contents: read
22+
23+
jobs:
24+
ruff:
25+
name: ruff
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
29+
with:
30+
persist-credentials: false
31+
- name: ruff
32+
env:
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
run: make ruff
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Copyright 2025 Ian Lewis
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: unit-test
16+
17+
on:
18+
workflow_call:
19+
secrets:
20+
CODECOV_TOKEN:
21+
required: true
22+
23+
permissions:
24+
contents: read
25+
26+
jobs:
27+
unit-test:
28+
name: unit-test
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
32+
with:
33+
persist-credentials: false
34+
35+
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
36+
with:
37+
python-version-file: ".python-version"
38+
39+
- name: unit-test
40+
env:
41+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: make unit-test
43+
44+
- name: Upload coverage reports to Codecov
45+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
46+
env:
47+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
48+
if: ${{ env.CODECOV_TOKEN != '' }}
49+
with:
50+
token: ${{ secrets.CODECOV_TOKEN }}
51+
files: coverage.xml
52+
fail_ci_if_error: true

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,14 @@ node_modules/
99

1010
# SARIF files
1111
*.sarif.json
12+
13+
# Python caches and build directories.
14+
*.py[cod]
15+
*.egg-info/
16+
build/
17+
dist/
18+
__pycache__
19+
20+
# Coverage files
21+
.coverage
22+
coverage.xml

.textlintrc.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ rules:
2121
spelling:
2222
language: "en"
2323
skipPatterns:
24+
- "/\\bCodecov\\b/" # Code coverage service
25+
2426
- "/\\bCHANGELOG\\b/g"
2527
- "/\\bCODEOWNER\\b/g"
2628
- "/\\bCLA\\b/g"

.zizmor.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ rules:
2626

2727
# Allow the use of the ossf/scorecard-action
2828
- ossf/scorecard-action
29+
30+
# Allow the use of the official Codecov Action
31+
- codecov/codecov-action

0 commit comments

Comments
 (0)