Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ updates:
schedule:
interval: "daily"
commit-message:
prefix: clang-tools
prefix: build
groups:
clang-tools:
patterns:
Expand Down
4 changes: 4 additions & 0 deletions cpp_linter_hooks/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
]


Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.1",
"clang-tidy==21.1.1",
]
dynamic = ["version"]

Expand Down
Loading