ruff: enable and fix C4 ruleset

This commit is contained in:
Dima Gerasimov 2024-08-27 22:50:37 +01:00
parent dee0b128ca
commit 2849870773
19 changed files with 48 additions and 38 deletions

View file

@ -120,4 +120,4 @@ def _watched_legacy() -> Iterable[Watched]:
watches.append(Watched(url=url, title=title, when=dt))
# todo hmm they already come sorted.. wonder if should just rely on it..
return list(sorted(watches, key=lambda e: e.when))
return sorted(watches, key=lambda e: e.when)