ruff: enable B warnings (mainly suppressed exceptions and unused variables)
This commit is contained in:
parent
f563dee215
commit
8b1ec35286
30 changed files with 83 additions and 67 deletions
|
@ -32,7 +32,7 @@ def compute_subscriptions(*sources: Iterable[SubscriptionState]) -> List[Subscri
|
|||
|
||||
by_url: Dict[str, Subscription] = {}
|
||||
# ah. dates are used for sorting
|
||||
for when, state in sorted(states):
|
||||
for _when, state in sorted(states):
|
||||
# TODO use 'when'?
|
||||
for feed in state:
|
||||
if feed.url not in by_url:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue