From d7492d53da9bc6d8f5bdb03e1fddecb16530bc4d Mon Sep 17 00:00:00 2001 From: Xiangzhuang Shen Date: Tue, 26 Nov 2024 10:12:04 +0800 Subject: [PATCH] fix(ruff): format --- python/evalica/__init__.py | 2 +- python/evalica/gradio/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/evalica/__init__.py b/python/evalica/__init__.py index 05e9d71..d467926 100644 --- a/python/evalica/__init__.py +++ b/python/evalica/__init__.py @@ -999,6 +999,7 @@ def pairwise_frame(scores: pd.Series[float]) -> pd.DataFrame: __all__ = [ + "WINNERS", "BradleyTerryResult", "CountingResult", "EigenResult", @@ -1009,7 +1010,6 @@ def pairwise_frame(scores: pd.Series[float]) -> pd.DataFrame: "PageRankResult", "Result", "ScoreDimensionError", - "WINNERS", "Winner", "__version__", "average_win_rate", diff --git a/python/evalica/gradio/__main__.py b/python/evalica/gradio/__main__.py index cd366ea..d04edfe 100755 --- a/python/evalica/gradio/__main__.py +++ b/python/evalica/gradio/__main__.py @@ -40,7 +40,7 @@ import pandas as pd import plotly.express as px from evalica import Result, Winner -from plotly.graph_objects import Figure # noqa: TCH002 +from plotly.graph_objects import Figure # noqa: TC002 def visualize(df_pairwise: pd.DataFrame) -> Figure: