From 24de5e2fe5f850096357e9cb140d96802aa0a346 Mon Sep 17 00:00:00 2001 From: "Daniel G, Krakowczyk" Date: Thu, 14 Sep 2023 12:18:23 +0200 Subject: [PATCH] make pylint happy by ignoreing a line --- src/pymovements/events/processing.py | 2 +- src/pymovements/gaze/integration.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pymovements/events/processing.py b/src/pymovements/events/processing.py index 3abf2c9f8..5f8b57970 100644 --- a/src/pymovements/events/processing.py +++ b/src/pymovements/events/processing.py @@ -26,7 +26,7 @@ import polars as pl -import pymovements as pm +import pymovements as pm # pylint: disable=cyclic-import from pymovements.events.frame import EventDataFrame from pymovements.events.properties import EVENT_PROPERTIES from pymovements.exceptions import InvalidProperty diff --git a/src/pymovements/gaze/integration.py b/src/pymovements/gaze/integration.py index d075739d7..0d3554ccf 100644 --- a/src/pymovements/gaze/integration.py +++ b/src/pymovements/gaze/integration.py @@ -26,7 +26,7 @@ import pandas as pd import polars as pl -import pymovements as pm +from pymovements.events.frame import EventDataFrame from pymovements.gaze.experiment import Experiment from pymovements.gaze.gaze_dataframe import GazeDataFrame from pymovements.utils import checks @@ -35,7 +35,7 @@ def from_numpy( data: np.ndarray | None = None, experiment: Experiment | None = None, - events: pm.EventDataFrame | None = None, + events: EventDataFrame | None = None, *, time: np.ndarray | None = None, pixel: np.ndarray | None = None, @@ -262,7 +262,7 @@ def from_numpy( def from_pandas( data: pd.DataFrame, experiment: Experiment | None = None, - events: pm.EventDataFrame | None = None, + events: EventDataFrame | None = None, *, time_column: str | None = None, pixel_columns: list[str] | None = None,