diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index db8ff20b..a54bacc1 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.14.3" + rev: "v0.14.4" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] diff --git a/docs/pages/guides/style.md b/docs/pages/guides/style.md index 3c9c0941..eafe59b3 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.14.3" + rev: "v0.14.4" hooks: # id: ruff-check 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.14.3" + rev: "v0.14.4" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -756,7 +756,7 @@ following pre-commit config: ```yaml - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v21.1.2" + rev: "v21.1.5" hooks: - id: clang-format types_or: [c++, c, cuda] diff --git a/noxfile.py b/noxfile.py index f0d0104f..24200d5a 100755 --- a/noxfile.py +++ b/noxfile.py @@ -481,6 +481,7 @@ def get_latest_version_tag(repo: str, old_version: str) -> dict[str, Any] | None for x in results if x["name"].count(".") == old_version.count(".") and x["name"].startswith("v") == old_version.startswith("v") + and "beta" not in x["name"] ] if tags: return tags[0] # type: ignore[no-any-return] diff --git a/{{cookiecutter.project_name}}/.pre-commit-config.yaml b/{{cookiecutter.project_name}}/.pre-commit-config.yaml index 55dcea22..02431e11 100644 --- a/{{cookiecutter.project_name}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_name}}/.pre-commit-config.yaml @@ -42,7 +42,7 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.14.3" + rev: "v0.14.4" hooks: - id: ruff-check args: ["--fix", "--show-fixes"] @@ -51,7 +51,7 @@ repos: {%- if cookiecutter.backend in ["pybind11", "skbuild", "mesonpy"] %} - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v21.1.2" + rev: "v21.1.5" hooks: - id: clang-format types_or: [c++, c, cuda]