Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 12, 2024
1 parent 6baaca4 commit d701b6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ url = https://github.com/pupil-labs/lsl-relay/
author = Pupil Labs GmbH
author_email = [email protected]
license = MIT
license_file = LICENSE
license_files = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Expand All @@ -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
Expand Down
6 changes: 2 additions & 4 deletions src/pupil_labs/lsl_relay/linear_time_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit d701b6b

Please sign in to comment.