Skip to content

Commit

Permalink
fix ruff checks
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Dec 5, 2023
1 parent 195f794 commit 0ef1013
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions livekit-rtc/livekit/rtc/video_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def to_argb(self, dst: "ArgbFrame") -> None:

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "VideoFrameBuffer":
"""
Create the right class instance from the VideoFrameBufferInfo
Expand Down Expand Up @@ -132,7 +132,7 @@ def _proto_info(self) -> proto_video_frame.VideoFrameBufferInfo:

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "NativeVideoBuffer":
return NativeVideoBuffer(owned_info)

Expand Down Expand Up @@ -398,7 +398,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I420Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -464,7 +464,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I420ABuffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -545,7 +545,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I422Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -598,7 +598,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I444Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -651,7 +651,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "I010Buffer":
info = owned_info.info
stride_y = info.yuv.stride_y
Expand Down Expand Up @@ -705,7 +705,7 @@ def __init__(

@staticmethod
def _from_owned_info(
owned_info: proto_video_frame.OwnedVideoFrameBuffer
owned_info: proto_video_frame.OwnedVideoFrameBuffer,
) -> "NV12Buffer":
info = owned_info.info
stride_y = info.bi_yuv.stride_y
Expand Down

0 comments on commit 0ef1013

Please sign in to comment.