From fbbdadb8e8e2fde8ac85cc2d1fe08117da72b772 Mon Sep 17 00:00:00 2001 From: Simon Hawkins Date: Sun, 17 Jan 2021 16:17:05 +0000 Subject: [PATCH] CI: pre-commit fixup --- pandas/io/formats/style.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/io/formats/style.py b/pandas/io/formats/style.py index 5a6425ef4ec8c..782562f455607 100644 --- a/pandas/io/formats/style.py +++ b/pandas/io/formats/style.py @@ -222,7 +222,7 @@ def _init_tooltips(self): if self.tooltips is None: self.tooltips = _Tooltips() - def set_tooltips(self, ttips: DataFrame) -> "Styler": + def set_tooltips(self, ttips: DataFrame) -> Styler: """ Add string based tooltips that will appear in the `Styler` HTML result. These tooltips are applicable only to`` elements. @@ -268,7 +268,7 @@ def set_tooltips_class( self, name: Optional[str] = None, properties: Optional[Sequence[Tuple[str, Union[str, int, float]]]] = None, - ) -> "Styler": + ) -> Styler: """ Manually configure the name and/or properties of the class for creating tooltips on hover.