From 506a51202a58ae79eec8a34f15dfeea928ab9f9b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Sep 2025 02:06:55 +0000 Subject: [PATCH 1/3] chore(deps): bump the pip group across 1 directory with 2 updates Bumps the pip group with 2 updates in the / directory: [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: pip - dependency-name: clang-tidy dependency-version: 21.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip ... 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 492d6266084a6e36f01b5de8f7471dd5c213a12a Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 26 Sep 2025 13:44:23 +0300 Subject: [PATCH 2/3] chore: Update util.py to add more versions --- cpp_linter_hooks/util.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpp_linter_hooks/util.py b/cpp_linter_hooks/util.py index 8969d7b..b5f966d 100644 --- a/cpp_linter_hooks/util.py +++ b/cpp_linter_hooks/util.py @@ -31,7 +31,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]: DEFAULT_CLANG_FORMAT_VERSION = get_version_from_dependency("clang-format") 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 +98,11 @@ def get_version_from_dependency(tool: str) -> Optional[str]: "20.1.7", "20.1.8", "21.1.0", + "21.1.1", + "21.1.2", ] +# 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 39e6f1934630e923b48281cd1709a875d03139b3 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Fri, 26 Sep 2025 13:45:12 +0300 Subject: [PATCH 3/3] Update pyproject.toml --- 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"]