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 Aug 5, 2024
1 parent 84cb24c commit 888fa6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion 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 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 888fa6a

Please sign in to comment.