Skip to content

Commit 5e17ae1

Browse files
committed
Address lint warning
Signed-off-by: Ganesan Ramalingam <[email protected]>
1 parent 09bc3d3 commit 5e17ae1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

onnxscript/values.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
3+
4+
# ruff: noqa: TID251
5+
36
from __future__ import annotations
47

58
import dataclasses
@@ -189,7 +192,7 @@ def _get_attribute_value(attr_proto: onnx.AttributeProto) -> Any:
189192
"""Get the default value of an ONNX attribute."""
190193
if attr_proto.type == onnx.AttributeProto.UNDEFINED:
191194
return _EmptyDefault
192-
return onnx.helper.get_attribute_value(attr_proto) # noqa: TID251
195+
return onnx.helper.get_attribute_value(attr_proto)
193196

194197

195198
def _param_schemas_from_op_schema(

0 commit comments

Comments
 (0)