Skip to content

Commit

Permalink
fix(ruff): format (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenxiangzhuang authored Nov 26, 2024
1 parent 2ad7f68 commit 5d79a03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/evalica/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ def pairwise_frame(scores: pd.Series[float]) -> pd.DataFrame:


__all__ = [
"WINNERS",
"BradleyTerryResult",
"CountingResult",
"EigenResult",
Expand All @@ -1009,7 +1010,6 @@ def pairwise_frame(scores: pd.Series[float]) -> pd.DataFrame:
"PageRankResult",
"Result",
"ScoreDimensionError",
"WINNERS",
"Winner",
"__version__",
"average_win_rate",
Expand Down
2 changes: 1 addition & 1 deletion python/evalica/gradio/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5d79a03

Please sign in to comment.