ruff: enable and fix C4 ruleset
This commit is contained in:
parent
dee0b128ca
commit
2849870773
19 changed files with 48 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue