We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9465704 commit ec92132Copy full SHA for ec92132
cpp_linter_hooks/clang_tidy.py
@@ -21,6 +21,8 @@ def run_clang_tidy(args) -> int:
21
sp = subprocess.run(command, stdout=subprocess.PIPE)
22
retval = sp.returncode
23
output = sp.stdout.decode("utf-8")
24
+ if "warning:" in output:
25
+ retval = 1
26
return retval, output
27
except FileNotFoundError as e:
28
retval = 1
0 commit comments