Skip to content

Commit e237320

Browse files
authored
Lint (#1187)
* update changelogs Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]> --------- Signed-off-by: xadupre <[email protected]>
1 parent ec2cf41 commit e237320

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

skl2onnx/algebra/custom_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ def __init__(self, A, Y, lower=False, transposed=False, op_version=None, **kwarg
6666
lower=lower,
6767
transposed=transposed,
6868
op_version=op_version,
69-
**kwargs
69+
**kwargs,
7070
)

skl2onnx/operator_converters/binariser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def convert_sklearn_binarizer(
4848
feature_name,
4949
operator.output_full_names,
5050
op_domain="ai.onnx.ml",
51-
**attrs
51+
**attrs,
5252
)
5353

5454

skl2onnx/operator_converters/scaler_op.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def convert_sklearn_scaler(
185185
feature_name,
186186
operator.outputs[0].full_name,
187187
op_domain="ai.onnx.ml",
188-
**attrs
188+
**attrs,
189189
)
190190

191191

skl2onnx/sklapi/woe_transformer_onnx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def woe_transformer_to_onnx(op, opset=None):
599599
["X"],
600600
["rf%d" % i],
601601
domain="ai.onnx.ml",
602-
**atts
602+
**atts,
603603
)
604604
)
605605
cats = list(sorted({int(n.onnx_value) for n in tree.nodes if n.is_leaf}))
@@ -635,7 +635,7 @@ def woe_transformer_to_onnx(op, opset=None):
635635
["X"],
636636
["rf%d" % i],
637637
domain="ai.onnx.ml",
638-
**atts
638+
**atts,
639639
)
640640
)
641641
nodes.append(make_node("Reshape", ["rf%d" % i, "new_shape"], ["lab%d" % i]))

tests/test_convert_options.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def classifier_option_output_class_labels(self, use_string):
136136
expected_proba,
137137
cls.classes_,
138138
*got,
139-
zipmap=zipmap
139+
zipmap=zipmap,
140140
)
141141
else:
142142
TestConvertOptions.almost_equal(
@@ -164,7 +164,7 @@ def classifier_option_output_class_labels(self, use_string):
164164
expected_proba,
165165
cls.classes_,
166166
*got,
167-
zipmap=zipmap
167+
zipmap=zipmap,
168168
)
169169
else:
170170
TestConvertOptions.almost_equal(
@@ -189,7 +189,7 @@ def classifier_option_output_class_labels(self, use_string):
189189
expected_proba,
190190
cls.classes_,
191191
*got,
192-
zipmap=zipmap
192+
zipmap=zipmap,
193193
)
194194
else:
195195
TestConvertOptions.almost_equal(

0 commit comments

Comments
 (0)