homelab: Import in der Route „Alle Update-Rückwege löschen“ nachgetragen (ruff F821), Test ruft sie auf; Logo-Skript ruff-sauber
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
5c6e73c69c
commit
4b57a12257
@@ -34,13 +34,13 @@ qbittorrent qnap rabbitmq radarr rancher rclone readarr redis rocket-chat rustde
|
||||
searxng semaphore sonarr speedtest-tracker stirling-pdf syncthing synology tailscale tautulli telegram traefik
|
||||
transmission ubuntu umami unraid uptime-kuma vaultwarden vikunja wallabag watchtower webmin wekan wiki-js wireguard
|
||||
woodpecker-ci wordpress zabbix zigbee2mqtt
|
||||
""".split()
|
||||
""".split() # noqa: SIM905 — die lange Namensliste liest sich als Text besser
|
||||
|
||||
# Auf dunklem Grund zu dunkel → helle Variante der Sammlung.
|
||||
HELL = set("""
|
||||
affine borgmatic cockpit crafty-controller debian docmost frigate github go2rtc healthchecks heimdall hermes-agent
|
||||
homebridge influxdb logseq matrix mattermost miniflux minio node-red openai outline penpot pfsense portainer radarr scrutiny semaphore tailscale umami vaultwarden wallabag wireguard
|
||||
""".split())
|
||||
""".split()) # noqa: SIM905
|
||||
|
||||
|
||||
def laden(ref: str) -> bytes:
|
||||
@@ -62,7 +62,7 @@ def main() -> int:
|
||||
LISTE.write_bytes((
|
||||
"// Erzeugt von frontend/scripts/logos_laden.py: die Logos unter /logos/<name>.svg (selfh.st/icons, CC BY 4.0).\n"
|
||||
"// Nicht von Hand pflegen — neue Logos mit demselben Skript holen.\n"
|
||||
f"export const LOGOS: ReadonlySet<string> = new Set([\n{zeilen}\n])\n").encode("utf-8"))
|
||||
f"export const LOGOS: ReadonlySet<string> = new Set([\n{zeilen}\n])\n").encode())
|
||||
print(f"{len(vorhanden)} Logos in {ZIEL}")
|
||||
if fehlt:
|
||||
print("nicht geladen:", ", ".join(fehlt))
|
||||
|
||||
Reference in New Issue
Block a user