Skip to content

Commit 18e322a

Browse files
committed
pylint fix to docstring length
1 parent 1695db6 commit 18e322a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/sagemaker/clarify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def __init__(
8888
Args:
8989
label_values_or_threshold (Any): List of label values or threshold to indicate positive
9090
outcome used for bias metrics.
91-
facet_name (str or [str]): String or List of strings of sensitive attribute(s) in the input data
92-
for which we like to compare metrics.
91+
facet_name (str or [str]): String or List of strings of sensitive attribute(s) in the
92+
input data for which we like to compare metrics.
9393
facet_values_or_threshold (list): Optional list of values to form a sensitive group or
9494
threshold for a numeric facet column that defines the lower bound of a sensitive
9595
group. Defaults to considering each possible value as sensitive group and

tests/unit/test_clarify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def test_data_bias_config_multi_facet():
108108
{"name_or_index": facet_name[0], "value_or_threshold": facet_threshold[0]},
109109
{"name_or_index": facet_name[1], "value_or_threshold": facet_threshold[1]},
110110
],
111-
"group_variable": group_name
111+
"group_variable": group_name,
112112
}
113113
assert expected_config == data_bias_config.get_config()
114114

@@ -132,7 +132,7 @@ def test_data_bias_config_multi_facet_not_all_with_value():
132132
{"name_or_index": facet_name[0], "value_or_threshold": facet_threshold[0]},
133133
{"name_or_index": facet_name[1]},
134134
],
135-
"group_variable": group_name
135+
"group_variable": group_name,
136136
}
137137
assert expected_config == data_bias_config.get_config()
138138

0 commit comments

Comments
 (0)