mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-24 02:27:52 -06:00
chore: merge the dependency updates
This commit is contained in:
commit
bdfa2be849
7 files changed
+446
-413
No files matched your search
@@ -7255,7 +7255,7 @@ def _group_start(group: _StartGroup, first_below: bool) -> list[tuple[str, str]]
|
||||
if same is None:
|
||||
regional[(region,)] = text
|
||||
else:
|
||||
regional[(*same, region)] = regional.pop(same)
|
||||
regional[same + (region,)] = regional.pop(same)
|
||||
|
||||
out = [(", ".join(_region_words(r) for r in regions), regional[regions])
|
||||
for regions in sorted(regional, key=lambda rs: (order.get(rs[0], len(order)), rs))]
|
||||
@@ -10308,13 +10308,9 @@ def emulator_pages(
|
||||
else:
|
||||
lines.append(f"| Source | {source} |")
|
||||
if isinstance(upstream_raw, dict):
|
||||
parts = []
|
||||
for k, v in upstream_raw.items():
|
||||
if isinstance(v, str) and v.startswith("http"):
|
||||
parts.append(f"[{k}]({v})")
|
||||
else:
|
||||
parts.append(f"{k}: {v}")
|
||||
lines.append(f"| Upstream | {', '.join(parts)} |")
|
||||
links = [f"[{k}]({v})" if isinstance(v, str) and v.startswith("http") else f"{k}: {v}"
|
||||
for k, v in upstream_raw.items()]
|
||||
lines.append(f"| Upstream | {', '.join(links)} |")
|
||||
elif upstream_none:
|
||||
lines.append("| Upstream | none: the source is the project itself |")
|
||||
elif upstream and upstream != source:
|
||||
|
||||
@@ -43,7 +43,7 @@ class Source(Protocol):
|
||||
|
||||
|
||||
class Sink(Protocol):
|
||||
def write(self, data: bytes, /) -> int: ...
|
||||
def write(self, data: bytes | bytearray, /) -> int: ...
|
||||
|
||||
# TorrentZip constants: 1996-12-24 23:32:00, deflate level 9
|
||||
_DOS_DATE = ((1996 - 1980) << 9) | (12 << 5) | 24
|
||||
|
||||
Reference in new issue
Block a user