From 59b1c81d8d1b12c0b7a528f2903a101062516d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Luk=C3=A1ny?= Date: Thu, 10 Aug 2023 13:32:23 +0200 Subject: [PATCH] refactor: add type hint (#73) Helps with code completion and syntax highlighting. --- edvart/report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edvart/report.py b/edvart/report.py index 59676a6..fead723 100755 --- a/edvart/report.py +++ b/edvart/report.py @@ -18,7 +18,7 @@ from edvart.report_sections.dataset_overview import Overview from edvart.report_sections.group_analysis import GroupAnalysis from edvart.report_sections.multivariate_analysis import MultivariateAnalysis -from edvart.report_sections.section_base import Verbosity +from edvart.report_sections.section_base import Section, Verbosity from edvart.report_sections.table_of_contents import TableOfContents from edvart.report_sections.timeseries_analysis import TimeseriesAnalysis from edvart.report_sections.univariate_analysis import UnivariateAnalysis @@ -44,7 +44,7 @@ def __init__( ): self._class_logger = logging.getLogger(__name__).getChild(self.__class__.__name__) self.df = dataframe - self.sections = [] + self.sections: list[Section] = [] self.verbosity = Verbosity(verbosity) def show(self) -> None: