Skip to content

Commit 0db7323

Browse files
committed
lint: Ruff format fixes
1 parent c740cc0 commit 0db7323

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

m3u8/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def __init__(self, uri, stream_info, media, base_uri):
982982
hdcp_level=stream_info.get("hdcp_level"),
983983
pathway_id=stream_info.get("pathway_id"),
984984
stable_variant_id=stream_info.get("stable_variant_id"),
985-
req_video_layout=stream_info.get("req_video_layout")
985+
req_video_layout=stream_info.get("req_video_layout"),
986986
)
987987
self.media = []
988988
for media_type in ("audio", "video", "subtitles"):

tests/test_parser.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -906,8 +906,7 @@ def test_media_with_stable_rendition_id():
906906
== "a8213e27c12a158ea8660e0fe8bdcac6072ca26d984e7e8603652bc61fdceffa"
907907
)
908908

909+
909910
def test_req_video_layout():
910911
data = m3u8.parse(playlists.VARIANT_PLAYLIST_WITH_REQ_VIDEO_LAYOUT)
911912
assert data["playlists"][0]["stream_info"]["req_video_layout"] == '"CH-STEREO"'
912-
913-

0 commit comments

Comments
 (0)