1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-17 14:05:48 +00:00

[cleanup] Bump ruff to 0.15.x (#15951)

Authored by: Grub4K
This commit is contained in:
Simon Sawicki
2026-02-16 21:11:02 +01:00
committed by GitHub
parent 43229d1d5f
commit abade83f8d
7 changed files with 28 additions and 18 deletions

View File

@@ -294,7 +294,7 @@ def expect_info_dict(self, got_dict, expected_dict):
missing_keys = sorted(
test_info_dict.keys() - expected_dict.keys(),
key=lambda x: ALLOWED_KEYS_SORT_ORDER.index(x))
key=ALLOWED_KEYS_SORT_ORDER.index)
if missing_keys:
def _repr(v):
if isinstance(v, str):