From 847eafb1b5fef53ef8a43bdf2351735dee9575b6 Mon Sep 17 00:00:00 2001 From: Justin Chu Date: Thu, 2 May 2024 01:31:01 +0000 Subject: [PATCH] # pylint: disable=broad-exception-caught --- tools/ir/model_zoo_test/model_zoo_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ir/model_zoo_test/model_zoo_test.py b/tools/ir/model_zoo_test/model_zoo_test.py index 976bc7404..4e7550c3a 100644 --- a/tools/ir/model_zoo_test/model_zoo_test.py +++ b/tools/ir/model_zoo_test/model_zoo_test.py @@ -49,7 +49,7 @@ def run_one_test(model_info: hub.ModelInfo) -> tuple[str, str | None]: try: time_passed = test_model(model_info) message += green(f"\n[PASS]: {model_name} roundtrip test passed.") - except Exception as e: # noqa: W0718 + except Exception as e: # pylint: disable=broad-exception-caught time_passed = -1 error = traceback.format_exc() message += red(f"\n[FAIL]: {e}")