Skip to content

Commit 492d626

Browse files
authored
chore: Update util.py to add more versions
1 parent 506a512 commit 492d626

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cpp_linter_hooks/util.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
3131
DEFAULT_CLANG_FORMAT_VERSION = get_version_from_dependency("clang-format")
3232
DEFAULT_CLANG_TIDY_VERSION = get_version_from_dependency("clang-tidy")
3333

34-
34+
# https://pypi.org/pypi/clang-format/json
3535
CLANG_FORMAT_VERSIONS = [
3636
"6.0.1",
3737
"7.1.0",
@@ -98,8 +98,11 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
9898
"20.1.7",
9999
"20.1.8",
100100
"21.1.0",
101+
"21.1.1",
102+
"21.1.2",
101103
]
102104

105+
# https://pypi.org/pypi/clang-tidy/json
103106
CLANG_TIDY_VERSIONS = [
104107
"13.0.1.1",
105108
"14.0.6",
@@ -113,6 +116,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
113116
"19.1.0.1",
114117
"20.1.0",
115118
"21.1.0",
119+
"21.1.1",
116120
]
117121

118122

0 commit comments

Comments
 (0)