Silence some pytype errors.

PiperOrigin-RevId: 496746673
This commit is contained in:
Rebecca Chen
2022-12-20 22:04:27 +00:00
committed by Diego de las Casas
parent 4caaad8b0a
commit 3c1aa70723

View File

@@ -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."""