Skip to content

Commit a57fc86

Browse files
committed
lint
1 parent ec661aa commit a57fc86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxscript/ir/passes/common/version_converter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _partial_convert_version(proto: onnx.ModelProto) -> onnx.ModelProto:
8181
converted_proto = _c_api_utils.call_onnx_api(
8282
func=_partial_convert_version, model=model
8383
)
84-
except Exception as e:
84+
except Exception as e: # pylint: disable=broad-exception-caught
8585
logger.warning(
8686
"Failed to convert the model to the target version %d using the ONNX C API. "
8787
"The model was not modified",

0 commit comments

Comments
 (0)