From 0ecb06f9a81e9242e081dab70fc89d9a7da4553a Mon Sep 17 00:00:00 2001 From: Fabiana Clemente Date: Tue, 7 May 2024 12:29:08 -0700 Subject: [PATCH] chore: update annotations --- .github/workflows/release.yml | 3 --- src/ydata_profiling/utils/logger.py | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9b001993..49c20800a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,9 +41,6 @@ jobs: - name: Install run: make install - - - name: Lint - run: make lint - name: Build package run: make package version=${{ steps.version.outputs.value }} diff --git a/src/ydata_profiling/utils/logger.py b/src/ydata_profiling/utils/logger.py index fc33f2297..473871ca9 100644 --- a/src/ydata_profiling/utils/logger.py +++ b/src/ydata_profiling/utils/logger.py @@ -10,10 +10,10 @@ class ProfilingLogger(logging.Logger): - def __init__(self, name, level=logging.INFO): + def __init__(self, name: str, level: int =logging.INFO): super().__init__(name, level) - def info_def_report(self, dataframe, timeseries: bool): + def info_def_report(self, dataframe, timeseries: bool) -> None: # type: ignore if dataframe is pd.DataFrame: dataframe = "pandas" report_type = "regular"