ruff: enable RUF ruleset

This commit is contained in:
Dima Gerasimov 2024-08-28 00:00:54 +01:00
parent dc0726c347
commit c3da26abcb
15 changed files with 31 additions and 27 deletions

View file

@ -209,7 +209,7 @@ def print_all() -> None:
if isinstance(p, Exception):
print('ERROR!', p)
else:
print(f"{str(p.dt):25} {p.path} {p.geo}")
print(f"{p.dt!s:25} {p.path} {p.geo}")
# todo cachew -- improve AttributeError: type object 'tuple' has no attribute '__annotations__' -- improve errors?
# todo cachew -- invalidate if function code changed?