Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesHolland committed Sep 5, 2024
1 parent e2b90c9 commit eb8ae95
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/promptflow-evals/promptflow/evals/evaluate/_evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
)


def _aggregate_content_safety_metrics(df: pd.DataFrame, evaluators: Dict[str, Type]) -> Tuple[list[str], dict[str, float]]:
# pylint: disable=line-too-long
def _aggregate_content_safety_metrics(
df: pd.DataFrame, evaluators: Dict[str, Type]
) -> Tuple[list[str], dict[str, float]]:
"""Find and aggregate defect rates for content safety metrics. Returns both a list
of columns that were used to calculate defect rates and the defect rates themselves.
Expand Down

0 comments on commit eb8ae95

Please sign in to comment.