From d701b6bc4e30f3af0f8370255a55f32fcf880e2e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 12 Feb 2024 23:43:06 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- setup.cfg | 4 ++-- src/pupil_labs/lsl_relay/linear_time_model.py | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/setup.cfg b/setup.cfg index c434fd4..cbbb7ac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -7,7 +7,7 @@ url = https://github.com/pupil-labs/lsl-relay/ author = Pupil Labs GmbH author_email = info@pupil-labs.com license = MIT -license_file = LICENSE +license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Intended Audience :: Developers @@ -29,7 +29,7 @@ install_requires = rich typing-extensions importlib-metadata;python_version<"3.8" -python_requires = >=3.7 +python_requires = >=3.8 include_package_data = true package_dir = =src diff --git a/src/pupil_labs/lsl_relay/linear_time_model.py b/src/pupil_labs/lsl_relay/linear_time_model.py index 848b1d9..8c014d7 100644 --- a/src/pupil_labs/lsl_relay/linear_time_model.py +++ b/src/pupil_labs/lsl_relay/linear_time_model.py @@ -21,12 +21,10 @@ class TimeAlignmentModels: lsl_to_cloud: linear_model.LinearRegression @overload - def to_json(self, path: Union[str, Path]) -> None: - ... + def to_json(self, path: Union[str, Path]) -> None: ... @overload - def to_json(self, path: None) -> str: - ... + def to_json(self, path: None) -> str: ... def to_json(self, path: Union[None, str, Path] = None) -> Optional[str]: mapping_parameters = {