From e26ef440a7161a462cdc7bc7b0643b9ebf75eb64 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 10:58:18 +0000 Subject: [PATCH 1/4] clang-tools: bump the clang-tools group with 2 updates Bumps the clang-tools group with 2 updates: [clang-format](https://github.com/ssciwr/clang-format-wheel) and [clang-tidy](https://github.com/ssciwr/clang-tidy-wheel). Updates `clang-format` from 21.1.0 to 21.1.2 - [Release notes](https://github.com/ssciwr/clang-format-wheel/releases) - [Commits](https://github.com/ssciwr/clang-format-wheel/compare/v21.1.0...v21.1.2) Updates `clang-tidy` from 21.1.0 to 21.1.1 - [Commits](https://github.com/ssciwr/clang-tidy-wheel/commits) --- updated-dependencies: - dependency-name: clang-format dependency-version: 21.1.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: clang-tools - dependency-name: clang-tidy dependency-version: 21.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: clang-tools ... Signed-off-by: dependabot[bot] --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f27e447..e27dfa0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,8 +34,8 @@ classifiers = [ dependencies = [ "tomli>=1.1.0; python_version < '3.11'", "setuptools>=45.0.0", # Required for pkg_resources in clang-tidy - "clang-format==21.1.0", - "clang-tidy==21.1.0", + "clang-format==21.1.2", + "clang-tidy==21.1.1", ] dynamic = ["version"] From 0b7e6e5c6ff2d13cb69dd9598a6e012abc1a8b41 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 26 Sep 2025 13:59:09 +0300 Subject: [PATCH 2/4] Apply suggestion from @shenxianpeng --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e27dfa0..9a4f367 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ classifiers = [ dependencies = [ "tomli>=1.1.0; python_version < '3.11'", "setuptools>=45.0.0", # Required for pkg_resources in clang-tidy - "clang-format==21.1.2", + "clang-format==21.1.1", "clang-tidy==21.1.1", ] dynamic = ["version"] From c76bc4d1e661279d59db7836a7260b982c015d49 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 26 Sep 2025 14:01:41 +0300 Subject: [PATCH 3/4] chore: Update util.py add more versions --- cpp_linter_hooks/util.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpp_linter_hooks/util.py b/cpp_linter_hooks/util.py index 8969d7b..ea2f174 100644 --- a/cpp_linter_hooks/util.py +++ b/cpp_linter_hooks/util.py @@ -32,6 +32,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]: DEFAULT_CLANG_TIDY_VERSION = get_version_from_dependency("clang-tidy") +# https://pypi.org/pypi/clang-format/json CLANG_FORMAT_VERSIONS = [ "6.0.1", "7.1.0", @@ -98,8 +99,10 @@ def get_version_from_dependency(tool: str) -> Optional[str]: "20.1.7", "20.1.8", "21.1.0", + "21.1.1", ] +# https://pypi.org/pypi/clang-tidy/json CLANG_TIDY_VERSIONS = [ "13.0.1.1", "14.0.6", @@ -113,6 +116,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]: "19.1.0.1", "20.1.0", "21.1.0", + "21.1.1", ] From 99c5fb14e9d977494acaf8bc3a4f5a6bca0c5918 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 26 Sep 2025 14:06:28 +0300 Subject: [PATCH 4/4] chore: commit message prefix start with build --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index fba4082..94fa971 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -18,7 +18,7 @@ updates: schedule: interval: "daily" commit-message: - prefix: clang-tools + prefix: build groups: clang-tools: patterns: