Skip to content

Commit 00c2ec3

Browse files
committed
chore: add pragma: no cover to ignore test
1 parent 0339700 commit 00c2ec3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp_linter_hooks/clang_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def run_clang_format(args=None) -> Tuple[int, str]:
3333
def main() -> int:
3434
retval, output = run_clang_format()
3535
if retval != 0:
36-
print(output)
36+
print(output) # pragma: no cover
3737
return retval
3838

3939

cpp_linter_hooks/clang_tidy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def run_clang_tidy(args=None) -> Tuple[int, str]:
3232
def main() -> int:
3333
retval, output = run_clang_tidy()
3434
if retval != 0:
35-
print(output)
35+
print(output) # pragma: no cover
3636
return retval
3737

3838

0 commit comments

Comments
 (0)