refactor(sync): the empty-answer rule for a mirror is one function, vanished()

The YouTube playlist guard from the previous commit put sync/playlists.py over its size ceiling;
the rule now lives beside should_prune as vanished(existing, listed), which the mirror calls in
place of its own list. The pyright baseline also drops by one (187), from the plex/overlay split.
This commit is contained in:
2026-10-03 19:45:14 +02:00
parent 4fc307c426
commit c4abbe48c1
3 changed files with 14 additions and 21 deletions
-8
View File
@@ -580,14 +580,6 @@
"endColumn": 89,
"lineCount": 1
}
},
{
"code": "reportArgumentType",
"range": {
"startColumn": 17,
"endColumn": 18,
"lineCount": 1
}
}
],
"./app/plex/tmdb.py": [