Ship the PEP 561 marker with the typed package

This commit is contained in:
Andras Schmelczer 2026-10-27 20:04:31 +00:00
commit c5aa8406e1

View file

@ -1,5 +1,5 @@
from pathlib import Path
from typing import Dict, List, Optional, TypeVar, cast
from typing import Dict, Optional, Sequence, TypeVar, cast
import matplotlib
import matplotlib.pyplot as plt
@ -14,8 +14,8 @@ T = TypeVar("T", str, float)
def evaluate_ranking(
expected: List[T],
actual_scores: List[float],
expected: Sequence[T],
actual_scores: Sequence[float],
target_recall: float,
title: Optional[str] = "",
disable_interpolation: bool = False,