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 Mar 18, 2024
1 parent e0403bb commit 247a8a6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pupil_capture/pupil_capture_lsl_relay/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
License details are in the file license.txt, distributed as part of this software.
----------------------------------------------------------------------------------~(*)
"""

import numpy as np
from pylsl import XMLElement

Expand Down Expand Up @@ -189,8 +190,8 @@ def make_extract_normpos(dim):


def make_extract_gaze_point_3d(dim):
return (
lambda gaze: gaze["gaze_point_3d"][dim] if "gaze_point_3d" in gaze else np.nan
return lambda gaze: (
gaze["gaze_point_3d"][dim] if "gaze_point_3d" in gaze else np.nan
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
License details are in the file license.txt, distributed as part of this software.
----------------------------------------------------------------------------------~(*)
"""

from .channel import (
confidence_channel,
fixation_dispersion_channel,
Expand Down
1 change: 1 addition & 0 deletions pupil_capture/pupil_capture_lsl_relay/gaze_scene_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
License details are in the file license.txt, distributed as part of this software.
----------------------------------------------------------------------------------~(*)
"""

from .channel import (
confidence_channel,
diameter_2d_channels,
Expand Down
1 change: 1 addition & 0 deletions pupil_capture/pupil_capture_lsl_relay/outlet.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
License details are in the file license.txt, distributed as part of this software.
----------------------------------------------------------------------------------~(*)
"""

import abc
import logging
from typing import Optional, Sequence
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
License details are in the file license.txt, distributed as part of this software.
----------------------------------------------------------------------------------~(*)
"""

from .channel import (
confidence_channel,
diameter_2d_channels,
Expand Down

0 comments on commit 247a8a6

Please sign in to comment.