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

@ -105,7 +105,7 @@ class Tweet:
repls.append((fr, to, me['display_url']))
# todo not sure, maybe use media_url_https instead?
# for now doing this for compatibility with twint
repls = list(sorted(repls))
repls = sorted(repls)
parts = []
idx = 0
for fr, to, what in repls: