We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4092248 commit acb775fCopy full SHA for acb775f
cpp_linter_hooks/clang_format.py
@@ -14,6 +14,8 @@ def run_clang_format(args) -> int:
14
continue
15
command.append(arg)
16
17
+ retval = 0
18
+ output = ""
19
try:
20
if "--dry-run" in command:
21
sp = subprocess.run(command, stdout=subprocess.PIPE)
cpp_linter_hooks/clang_tidy.py
@@ -13,6 +13,9 @@ def run_clang_tidy(args) -> int:
13
if arg == expect_version or arg.startswith("--version"):
+
retval = sp.returncode
0 commit comments