We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f70bed6 commit 9a9d7f0Copy full SHA for 9a9d7f0
.github/scripts/run_cpp_linter.py
@@ -23,8 +23,10 @@
23
if output.returncode != 0:
24
comment = '''There are some changes that do not conform to C++ style guidelines:\n ```diff\n{}```'''.format(output.stdout.decode("utf-8"))
25
approval = 'REQUEST_CHANGES'
26
- exit(1)
27
28
pr.create_review(commit, comment, approval)
29
30
-
+if output.returncode != 0:
+ exit(1)
31
+else:
32
+ exit(0)
.github/scripts/run_py_linter.py
@@ -23,6 +23,10 @@
comment = '''There are some changes that do not conform to Python style guidelines:\n ```diff\n{}```'''.format(output.stdout.decode("utf-8"))
+
0 commit comments