core.common: move listify to core.utils.itertools, use better typing annotations for it

also some minor refactoring of my.rss
This commit is contained in:
Dima Gerasimov 2024-08-14 10:59:47 +03:00 committed by karlicoss
parent c64d7f5b67
commit 66c08a6c80
6 changed files with 81 additions and 65 deletions

View file

@ -1,6 +1,7 @@
'''
Unified RSS data, merged from different services I used historically
'''
# NOTE: you can comment out the sources you're not using
from . import feedbin, feedly
@ -12,5 +13,5 @@ def subscriptions() -> Iterable[Subscription]:
# TODO google reader?
yield from compute_subscriptions(
feedbin.states(),
feedly .states(),
feedly.states(),
)