Skip to content

Commit c76bc4d

Browse files
authored
chore: Update util.py add more versions
1 parent 0b7e6e5 commit c76bc4d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cpp_linter_hooks/util.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
3232
DEFAULT_CLANG_TIDY_VERSION = get_version_from_dependency("clang-tidy")
3333

3434

35+
# https://pypi.org/pypi/clang-format/json
3536
CLANG_FORMAT_VERSIONS = [
3637
"6.0.1",
3738
"7.1.0",
@@ -98,8 +99,10 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
9899
"20.1.7",
99100
"20.1.8",
100101
"21.1.0",
102+
"21.1.1",
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)