From 3c1aa70723a99a671e1d61700ca5812037160ead Mon Sep 17 00:00:00 2001 From: Rebecca Chen Date: Tue, 20 Dec 2022 22:04:27 +0000 Subject: [PATCH] Silence some pytype errors. PiperOrigin-RevId: 496746673 --- fusion_tcv/combiners.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fusion_tcv/combiners.py b/fusion_tcv/combiners.py index bcb0226..a63ddad 100644 --- a/fusion_tcv/combiners.py +++ b/fusion_tcv/combiners.py @@ -28,7 +28,7 @@ class AbstractCombiner(targets.AbstractTarget): """Combines a set of rewards, possibly weighted.""" @abc.abstractmethod - def __call__(self, values: List[float], + def __call__(self, values: List[float], # pytype: disable=signature-mismatch # overriding-return-type-checks weights: Optional[List[float]] = None) -> List[float]: """Combines a set of rewards, possibly weighted."""