diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 37a82d8a..7bbe4f1f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,7 +29,7 @@ repos: additional_dependencies: [black==24.*] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.2" + rev: "v0.5.6" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -43,7 +43,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.10.1" + rev: "v1.11.1" hooks: - id: mypy files: "(src|tests)" diff --git a/docs/pages/guides/gha_pure.md b/docs/pages/guides/gha_pure.md index aca27c67..98f6e968 100644 --- a/docs/pages/guides/gha_pure.md +++ b/docs/pages/guides/gha_pure.md @@ -154,7 +154,7 @@ publish: path: dist - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@v1.3.3 + uses: actions/attest-build-provenance@v1.4.0 with: subject-path: "dist/*" @@ -252,7 +252,7 @@ jobs: path: dist - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@v1.3.3 + uses: actions/attest-build-provenance@v1.4.0 with: subject-path: "dist/*" diff --git a/docs/pages/guides/gha_wheels.md b/docs/pages/guides/gha_wheels.md index 8ef4be09..7f460471 100644 --- a/docs/pages/guides/gha_wheels.md +++ b/docs/pages/guides/gha_wheels.md @@ -114,7 +114,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: pypa/cibuildwheel@v2.19 + - uses: pypa/cibuildwheel@v2.20 - name: Upload wheels uses: actions/upload-artifact@v4 @@ -178,7 +178,7 @@ upload_all: merge-multiple: true - name: Generate artifact attestations - uses: actions/attest-build-provenance@v1.3.3 + uses: actions/attest-build-provenance@v1.4.0 with: subject-path: "dist/*" diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index 4e606417..6dca5d5f 100644 --- a/docs/pages/guides/style.md +++ b/docs/pages/guides/style.md @@ -111,7 +111,7 @@ Here is the snippet to add the formatter to your `.pre-commit-config.yml` ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.2" + rev: "v0.5.6" hooks: # id: ruff would go here if using both - id: ruff-format @@ -201,7 +201,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.2" + rev: "v0.5.6" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -392,7 +392,7 @@ the flake8 addition for pre-commit, with the `bugbear` plugin: ```yaml - repo: https://github.com/pycqa/flake8 - rev: "7.1.0" + rev: "7.1.1" hooks: - id: flake8 additional_dependencies: [flake8-bugbear] @@ -490,7 +490,7 @@ when clearly better (please always use them, they are faster) if you set ```yaml - repo: https://github.com/asottile/pyupgrade - rev: "v3.16.0" + rev: "v3.17.0" hooks: - id: pyupgrade args: ["--py38-plus"] @@ -535,7 +535,7 @@ The MyPy addition for pre-commit: ```yaml - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.10.1" + rev: "v1.11.1" hooks: - id: mypy files: src @@ -824,7 +824,7 @@ schemas, and you can load them via URL. It work on JSON, YAML, and TOML. ```yaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.29.0" + rev: "0.29.1" hooks: - id: check-dependabot - id: check-github-workflows diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} index 4367f086..8c93f5b0 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type!='compiled' %}cd.yml{% endif %} @@ -49,7 +49,7 @@ jobs: path: dist - name: Generate artifact attestation for sdist and wheel - uses: actions/attest-build-provenance@v1.3.3 + uses: actions/attest-build-provenance@v1.4.0 with: subject-path: "dist/*" diff --git a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} index f2a75bae..f71bcd93 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} +++ b/{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %} @@ -48,7 +48,7 @@ jobs: with: fetch-depth: 0 - - uses: pypa/cibuildwheel@v2.19 + - uses: pypa/cibuildwheel@v2.20 - name: Upload wheels uses: actions/upload-artifact@v4 @@ -74,7 +74,7 @@ jobs: merge-multiple: true - name: Generate artifact attestations - uses: actions/attest-build-provenance@v1.3.3 + uses: actions/attest-build-provenance@v1.4.0 with: subject-path: "dist/*" diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 533bb32f..49b9b2c4 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -40,7 +40,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.2" + rev: "v0.5.6" hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -67,7 +67,7 @@ repos: {%- endif %} - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.10.1" + rev: "v1.11.1" hooks: - id: mypy files: src|tests @@ -118,7 +118,7 @@ repos: additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.29.0" + rev: "0.29.1" hooks: {%- if cookiecutter.__ci == "github" %} - id: check-dependabot