Skip to content

Commit

Permalink
Improve docstring's wording
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Aug 8, 2024
1 parent 809179b commit a2a78b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mlx/coverity_directives/coverity_defect_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def fill_table_and_count_attributes(self, defects, valid_columns, *args):
Args:
defects (list[list[dict]]): List of defects (rows).
valid_columns (list[dict]): All available valid columns with the column names and respectively column keys
valid_columns (list[dict]): All valid/available columns: each with keys 'name' and 'columnKey'
"""
for defect in defects:
simplified_defect = {item["key"]: item["value"] for item in defect}
Expand All @@ -183,7 +183,7 @@ def get_filled_row(self, defect, columns, valid_columns, *args):
Args:
defect (dict): The defect where the keys are column keys and the values are the corresponding defect values
columns (list): List of column names (str).
valid_columns (list[dict]): All available valid columns with the column names and respectively column keys
valid_columns (list[dict]): All valid/available columns: each with keys 'name' and 'columnKey'
Returns:
(nodes.row) Filled row node.
Expand Down Expand Up @@ -283,7 +283,7 @@ def increase_attribute_value_count(self, defect, valid_columns):
Args:
defect (dict): The defect.
valid_columns (list[dict]): All available valid columns with the column names and respectively column keys
valid_columns (list[dict]): All valid/available columns: each with keys 'name' and 'columnKey'
"""
if self["chart_attribute"].upper() in self.column_map:
attribute_value = str(defect[self.column_map[self["chart_attribute"].upper()]])
Expand Down

0 comments on commit a2a78b9

Please sign in to comment.