From f580412790a4dd7c6a6ce7b858ef67b4bec91c15 Mon Sep 17 00:00:00 2001 From: "liblaf-copier[bot]" <271773752+liblaf-copier[bot]@users.noreply.github.com> Date: Sat, 8 Aug 2026 01:44:36 +0000 Subject: [PATCH] chore(copier): update from template --- .config/copier/.copier-answers.python.yaml | 2 +- .config/copier/.copier-answers.release.yaml | 2 +- .config/copier/.copier-answers.shared.yaml | 2 +- .config/mise/conf.d/50-python.toml | 10 +++++----- .config/mise/conf.d/50-shared.toml | 8 ++++++-- .github/workflows/python-bench.yaml | 10 +++++----- .github/workflows/python-docs.yaml | 4 ++-- .github/workflows/python-release.yaml | 8 ++++---- .github/workflows/python-test.yaml | 8 ++++---- .github/workflows/release-pr.yaml | 10 +++++----- .github/workflows/release-publish.yaml | 6 +++--- .github/workflows/shared-approve.yaml | 4 ++-- .github/workflows/shared-copier-update.yaml | 6 +++--- .github/workflows/shared-mega-linter.yaml | 10 +++++----- .pre-commit-config.yaml | 8 ++++---- 15 files changed, 51 insertions(+), 47 deletions(-) diff --git a/.config/copier/.copier-answers.python.yaml b/.config/copier/.copier-answers.python.yaml index c1bd78fc..b81c9837 100644 --- a/.config/copier/.copier-answers.python.yaml +++ b/.config/copier/.copier-answers.python.yaml @@ -1,7 +1,7 @@ ## This file is @generated by . # DO NOT EDIT! # prettier-ignore -_commit: v0.1.40 +_commit: v0.1.44 _src_path: gh:liblaf/copier-python answers_file_shared: .config/copier/.copier-answers.shared.yaml distribution_name: liblaf-melon diff --git a/.config/copier/.copier-answers.release.yaml b/.config/copier/.copier-answers.release.yaml index ea1eb235..a031fa44 100644 --- a/.config/copier/.copier-answers.release.yaml +++ b/.config/copier/.copier-answers.release.yaml @@ -1,4 +1,4 @@ # This file is @generated by . # DO NOT EDIT! -_commit: v0.3.7 +_commit: v0.3.14 _src_path: gh:liblaf/copier-release diff --git a/.config/copier/.copier-answers.shared.yaml b/.config/copier/.copier-answers.shared.yaml index ea971245..bfd94e47 100644 --- a/.config/copier/.copier-answers.shared.yaml +++ b/.config/copier/.copier-answers.shared.yaml @@ -1,6 +1,6 @@ # This file is @generated by . # DO NOT EDIT! -_commit: v0.2.18 +_commit: v0.2.24 _src_path: gh:liblaf/copier-shared author_email: 30631553+liblaf@users.noreply.github.com author_name: liblaf diff --git a/.config/mise/conf.d/50-python.toml b/.config/mise/conf.d/50-python.toml index e577fd66..2f8e25f9 100644 --- a/.config/mise/conf.d/50-python.toml +++ b/.config/mise/conf.d/50-python.toml @@ -22,15 +22,15 @@ run = ["rm --force --recursive '{{ config_root }}/.cache'", "zensical serve"] [tasks."gen:init"] description = "Generate lazy-loading __init__.py files from __init__.pyi stubs" -file = "https://raw.githubusercontent.com/liblaf/copier-python/bf21783d9e1e7335f6ea24ac13ec683a54e8054a/mise-tasks/gen/init.py" +file = "https://cdn.jsdelivr.net/gh/liblaf/copier-python@e999e0b3fd92ddbdb79368750fad42d4c6388e18/mise-tasks/gen/init.py" [tasks."gen:ref-pages"] description = "Generate API reference pages from public Python modules" -file = "https://raw.githubusercontent.com/liblaf/copier-python/bf21783d9e1e7335f6ea24ac13ec683a54e8054a/mise-tasks/gen/ref-pages.py" +file = "https://cdn.jsdelivr.net/gh/liblaf/copier-python@e999e0b3fd92ddbdb79368750fad42d4c6388e18/mise-tasks/gen/ref-pages.py" [tasks.install] description = "Install project dependencies from pixi.lock or uv.lock" -file = "https://raw.githubusercontent.com/liblaf/copier-python/bf21783d9e1e7335f6ea24ac13ec683a54e8054a/mise-tasks/install.sh" +file = "https://cdn.jsdelivr.net/gh/liblaf/copier-python@e999e0b3fd92ddbdb79368750fad42d4c6388e18/mise-tasks/install.sh" [tasks.lint] description = "Run all linters" @@ -42,8 +42,8 @@ run = ["lint-imports", "ruff check --fix", "ruff format", "ty check --fix"] [tasks."lint:toml"] description = "Sort, format, and lint TOML files with toml-sort and tombi" -file = "https://raw.githubusercontent.com/liblaf/copier-python/bf21783d9e1e7335f6ea24ac13ec683a54e8054a/mise-tasks/lint/toml.sh" +file = "https://cdn.jsdelivr.net/gh/liblaf/copier-python@e999e0b3fd92ddbdb79368750fad42d4c6388e18/mise-tasks/lint/toml.sh" [tasks.upgrade] description = "Upgrade project dependencies from pixi.lock or uv.lock" -file = "https://raw.githubusercontent.com/liblaf/copier-python/bf21783d9e1e7335f6ea24ac13ec683a54e8054a/mise-tasks/upgrade.sh" +file = "https://cdn.jsdelivr.net/gh/liblaf/copier-python@e999e0b3fd92ddbdb79368750fad42d4c6388e18/mise-tasks/upgrade.sh" diff --git a/.config/mise/conf.d/50-shared.toml b/.config/mise/conf.d/50-shared.toml index 9969448a..6f615a8c 100644 --- a/.config/mise/conf.d/50-shared.toml +++ b/.config/mise/conf.d/50-shared.toml @@ -2,6 +2,10 @@ # This file is @generated by . # DO NOT EDIT! +# Use jsdelivr.net instead of raw.githubusercontent.com to avoid HTTP 429 (Too Many +# Requests) rate limit errors + [tasks.copier-update] -description = "Recopy all configured Copier templates from their answers files." -file = "https://raw.githubusercontent.com/liblaf/copier-shared/bb5302cfb2e34a3dcecbd076580dcb64b2ff4942/mise-tasks/copier-update.sh" +description = "Reapply all Copier templates using their saved answers" +file = "https://cdn.jsdelivr.net/gh/liblaf/copier-shared@065e35a2e53df85a160950c67df0b33f09aed064/mise-tasks/copier-update.sh" +interactive = true diff --git a/.github/workflows/python-bench.yaml b/.github/workflows/python-bench.yaml index fd487c66..e4789c5c 100644 --- a/.github/workflows/python-bench.yaml +++ b/.github/workflows/python-bench.yaml @@ -22,9 +22,9 @@ jobs: sessions: ${{ steps.collect.outputs.sessions }} steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup uv - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 with: activate-environment: true - name: Install dependencies @@ -47,15 +47,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup uv - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 with: activate-environment: true - name: Install dependencies run: uv sync --active --frozen --all-packages - name: Bench - uses: CodSpeedHQ/action@c145068895e045cc725ee76fcd2307624b65c3af # v4 + uses: CodSpeedHQ/action@88472375d0a4572cf70a9f1fe3a4e0ab8da1b924 # v5 with: run: nox --tags 'bench' mode: simulation,walltime,memory diff --git a/.github/workflows/python-docs.yaml b/.github/workflows/python-docs.yaml index a7afb34a..e9a8672f 100644 --- a/.github/workflows/python-docs.yaml +++ b/.github/workflows/python-docs.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: fetch-depth: 0 - id: config @@ -29,7 +29,7 @@ jobs: - name: Set environment variables run: echo 'SITE_URL=${{ steps.config.outputs.base_url }}' >> "$GITHUB_ENV" - name: Setup uv - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 with: activate-environment: true - name: Install dependencies diff --git a/.github/workflows/python-release.yaml b/.github/workflows/python-release.yaml index ae8f70a6..4077b4a0 100644 --- a/.github/workflows/python-release.yaml +++ b/.github/workflows/python-release.yaml @@ -25,10 +25,10 @@ jobs: package-version: ${{ steps.build.outputs.package_version }} steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - id: build name: Build and inspect a Python package - uses: hynek/build-and-inspect-python-package@d44ca7d91762de7a7d5436ddae667c6da6d1c3df # v2 + uses: hynek/build-and-inspect-python-package@2abe76da66d0a6a4a227101f9348ee855797cfa5 # v3.0.1 with: attest-build-provenance-github: true @@ -50,7 +50,7 @@ jobs: name: ${{ needs.build.outputs.artifact-name }} path: dist - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1 + uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1 with: verbose: ${{ runner.debug == '1' }} print-hash: true @@ -70,7 +70,7 @@ jobs: name: ${{ needs.build.outputs.artifact-name }} path: dist - name: Upload release assets - uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3 + uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3 with: draft: false files: dist/* diff --git a/.github/workflows/python-test.yaml b/.github/workflows/python-test.yaml index bcdbec5d..d02ee1f3 100644 --- a/.github/workflows/python-test.yaml +++ b/.github/workflows/python-test.yaml @@ -24,9 +24,9 @@ jobs: sessions: ${{ steps.collect.outputs.sessions }} steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Setup uv - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 with: activate-environment: true - name: Install dependencies @@ -49,11 +49,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: fetch-depth: 0 # I don't know why, but it is present in Codecov's documentation - name: Setup uv - uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 + uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 with: activate-environment: true - name: Install dependencies diff --git a/.github/workflows/release-pr.yaml b/.github/workflows/release-pr.yaml index 26b2193a..07110510 100644 --- a/.github/workflows/release-pr.yaml +++ b/.github/workflows/release-pr.yaml @@ -30,16 +30,16 @@ jobs: version: ${{ steps.version.outputs.version }} steps: - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: fetch-depth: 0 - name: Install git-cliff - uses: taiki-e/install-action@7a79fe8c3a13344501c80d99cae481c1c9085912 # v2 + uses: taiki-e/install-action@1beb33eee6d086258184383af9a538940be190ed # v2 with: tool: git-cliff - id: version name: Next version - uses: liblaf/actions/next-version@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/next-version@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 env: GIT_CLIFF_CONFIG_URL: ${{ env.GIT_CLIFF_CONFIG_URL }} GITHUB_TOKEN: ${{ github.token }} @@ -60,12 +60,12 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/auth@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: fetch-depth: 0 - name: Install rumdl diff --git a/.github/workflows/release-publish.yaml b/.github/workflows/release-publish.yaml index 43bce36d..b05eaa74 100644 --- a/.github/workflows/release-publish.yaml +++ b/.github/workflows/release-publish.yaml @@ -23,12 +23,12 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/auth@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 with: token: ${{ steps.auth.outputs.token }} - id: version @@ -41,7 +41,7 @@ jobs: env: TITLE: ${{ github.event.pull_request.title }} - name: Create release - uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3 + uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3 with: body: ${{ github.event.pull_request.body }} tag_name: ${{ steps.version.outputs.tag }} diff --git a/.github/workflows/shared-approve.yaml b/.github/workflows/shared-approve.yaml index 64b4197e..89808075 100644 --- a/.github/workflows/shared-approve.yaml +++ b/.github/workflows/shared-approve.yaml @@ -21,12 +21,12 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/auth@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Approve - uses: liblaf/actions/approve@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/approve@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: approve-token: ${{ steps.auth.outputs.token }} label: ${{ matrix.label }} diff --git a/.github/workflows/shared-copier-update.yaml b/.github/workflows/shared-copier-update.yaml index ee8d74ca..e22a349e 100644 --- a/.github/workflows/shared-copier-update.yaml +++ b/.github/workflows/shared-copier-update.yaml @@ -25,14 +25,14 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/auth@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Install mise - uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4 + uses: jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 # v4 - name: Install Copier run: pipx install --pip-args cookiecutter copier - name: Copier update diff --git a/.github/workflows/shared-mega-linter.yaml b/.github/workflows/shared-mega-linter.yaml index 48c797a7..a5456e3f 100644 --- a/.github/workflows/shared-mega-linter.yaml +++ b/.github/workflows/shared-mega-linter.yaml @@ -33,15 +33,15 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/auth@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Checkout - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - id: lint name: MegaLinter - uses: liblaf/megalinter-custom-flavor-all@479fdf589ac234313c22405ba01af2f37deb96e8 # main + uses: liblaf/megalinter-custom-flavor-all@4e698aefdb7056813167596e16c0d31b470be2e8 # main env: GITHUB_TOKEN: ${{ steps.auth.outputs.token }} MEGALINTER_CONFIG: https://raw.githubusercontent.com/liblaf/megalinter-custom-flavor-all/refs/heads/main/.mega-linter.yml @@ -90,12 +90,12 @@ jobs: steps: - id: auth name: Auth - uses: liblaf/actions/auth@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/auth@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: client-id: ${{ vars.APP_CLIENT_ID }} private-key: ${{ secrets.APP_PRIVATE_KEY }} - name: Approve - uses: liblaf/actions/approve@512d1652c6a71a8f141d1901f50994afaddc925e # v3 + uses: liblaf/actions/approve@f53e930a3c8515151fc60ca60623e766c0c85643 # v3 with: approve-token: ${{ steps.auth.outputs.token }} pull: ${{ needs.mega-linter.outputs.pull-request-url }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 010aabfe..7275c7a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,18 +18,18 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.16 + rev: v0.16.0 hooks: - id: ruff-check args: - --fix - id: ruff-format - repo: https://github.com/oxc-project/mirrors-oxfmt - rev: v0.54.0 + rev: v0.45.0 hooks: - id: oxfmt - repo: https://github.com/oxc-project/mirrors-oxlint - rev: v1.69.0 + rev: v1.60.0 hooks: - id: oxlint - repo: https://github.com/pre-commit/pre-commit-hooks @@ -52,7 +52,7 @@ repos: hooks: - id: actionlint - repo: https://github.com/rvben/rumdl-pre-commit - rev: v0.2.10 + rev: v0.2.43 hooks: - id: rumdl-fmt - repo: https://github.com/shellcheck-py/shellcheck-py