From 30e86970cd7d6fc44c8180393fcd3bb4f2d3bc1f Mon Sep 17 00:00:00 2001 From: Carmen Bianca BAKKER Date: Thu, 22 Jun 2023 19:50:33 +0200 Subject: [PATCH] fixup! fixup! fixup! add third_party_lint to Makefile --- .github/workflows/third_party_lint.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/third_party_lint.py b/.github/workflows/third_party_lint.py index 3930a9cbc..908e1643f 100644 --- a/.github/workflows/third_party_lint.py +++ b/.github/workflows/third_party_lint.py @@ -116,6 +116,8 @@ def main(args): expect_failure=expect_failure, json=args.json, ) + print(expect_failure) + print(result.returncode) if result.returncode and not expect_failure: total_lint_fails += 1 else: @@ -125,7 +127,7 @@ def main(args): expect_failure=args.expect_failure, json=args.json, ) - if result.returncode: + if result.returncode and not args.expect_failure: total_lint_fails += 1 return total_lint_fails