diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 226bc432..9127f15d 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.15.18" + rev: "v0.15.20" hooks: - id: ruff-check args: ["--fix"] @@ -59,19 +59,19 @@ repos: - types-PyYAML - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.4" + rev: "v3.9.4" hooks: - id: prettier types_or: [yaml, html, css, scss, javascript, json] - repo: https://github.com/rvben/rumdl-pre-commit - rev: "v0.2.20" + rev: "v0.2.28" hooks: - id: rumdl args: [--no-exclude] # Disable all exclude patterns - repo: https://github.com/crate-ci/typos - rev: "v1.47.2" + rev: "v1.48.0" hooks: - id: typos exclude: ^Gemfile\.lock$ diff --git a/docs/guides/gha_basic.md b/docs/guides/gha_basic.md index f1f0f8af..30bcda35 100644 --- a/docs/guides/gha_basic.md +++ b/docs/guides/gha_basic.md @@ -122,7 +122,7 @@ tests: allow-prereleases: true - name: Download uv - uses: astral-sh/setup-uv@v8.2.0 + uses: astral-sh/setup-uv@v8.3.0 - name: Test package run: uv run pytest diff --git a/docs/guides/gha_wheels.md b/docs/guides/gha_wheels.md index 6401f4d0..a09d03dc 100644 --- a/docs/guides/gha_wheels.md +++ b/docs/guides/gha_wheels.md @@ -73,7 +73,7 @@ make_sdist: with: fetch-depth: 0 # Optional, use if you use setuptools_scm submodules: true # Optional, use if you have submodules - - uses: astral-sh/setup-uv@v8.2.0 + - uses: astral-sh/setup-uv@v8.3.0 - name: Build SDist run: uv build --sdist @@ -113,7 +113,7 @@ build_wheels: fetch-depth: 0 submodules: true - - uses: astral-sh/setup-uv@v8.2.0 + - uses: astral-sh/setup-uv@v8.3.0 - uses: pypa/cibuildwheel@v4.1 diff --git a/docs/guides/style.md b/docs/guides/style.md index 7c1e773e..59398e75 100644 --- a/docs/guides/style.md +++ b/docs/guides/style.md @@ -148,7 +148,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.15.18" + rev: "v0.15.20" hooks: # id: ruff-check would go here if using both - id: ruff-format @@ -234,7 +234,7 @@ pre-commit hook. ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.18" + rev: "v0.15.20" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -661,7 +661,7 @@ with `additional_dependencies`, and pass extra flags via `args`. :sync: ty ```yaml - repo: https://github.com/astral-sh/ty-pre-commit - rev: "v0.0.52" + rev: "v0.0.56" hooks: - id: ty ``` @@ -898,7 +898,7 @@ integration. ```yaml - repo: https://github.com/crate-ci/typos - rev: "v1.47.2" + rev: "v1.48.0" hooks: - id: typos args: [] @@ -1008,7 +1008,7 @@ number of different file types. An example of usage: ```yaml - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.4" + rev: "v3.9.4" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] @@ -1056,7 +1056,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.37.3" + rev: "0.37.4" hooks: - id: check-dependabot - id: check-github-workflows diff --git a/docs/guides/tasks.md b/docs/guides/tasks.md index 75696994..e8882d2b 100644 --- a/docs/guides/tasks.md +++ b/docs/guides/tasks.md @@ -309,7 +309,7 @@ You can install `uv` with `pipx`, `brew`, etc. If you want to use uv in GitHub Actions, one way is to use this: ```yaml -- uses: astral-sh/setup-uv@v8.2.0 +- uses: astral-sh/setup-uv@v8.3.0 ``` Check your jobs with `uv`; most things do not need to change. The main diff --git a/{{cookiecutter.project_name}}/.github/workflows/ci.yml b/{{cookiecutter.project_name}}/.github/workflows/ci.yml index 32dc428d..61f77f27 100644 --- a/{{cookiecutter.project_name}}/.github/workflows/ci.yml +++ b/{{cookiecutter.project_name}}/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: with: python-version: "3.x" - - uses: astral-sh/setup-uv@v8.2.0 + - uses: astral-sh/setup-uv@v8.3.0 - uses: j178/prek-action@v2 @@ -75,7 +75,7 @@ jobs: python-version: {% raw %}${{ matrix.python-version }}{% endraw %} allow-prereleases: true - - uses: astral-sh/setup-uv@v8.2.0 + - uses: astral-sh/setup-uv@v8.3.0 {%- if cookiecutter.backend == "mesonpy" %} 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 1385ce05..0fa4719f 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 %} @@ -62,7 +62,7 @@ jobs: persist-credentials: false fetch-depth: 0 - - uses: astral-sh/setup-uv@v8.2.0 + - uses: astral-sh/setup-uv@v8.3.0 with: # Disable caching to avoid poisoning published wheels enable-cache: false diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index e729bbf3..bbef9ff0 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -36,14 +36,14 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/rbubley/mirrors-prettier - rev: "v3.8.4" + rev: "v3.9.4" hooks: - id: prettier types_or: [yaml, markdown, html, css, scss, javascript, json] args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.18" + rev: "v0.15.20" hooks: - id: ruff-check args: ["--fix"] @@ -105,7 +105,7 @@ repos: additional_dependencies: ["validate-pyproject-schema-store[all]"] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.37.3" + rev: "0.37.4" hooks: {%- if cookiecutter.__ci == "github" %} - id: check-dependabot