ruff: enable B warnings (mainly suppressed exceptions and unused variables)

This commit is contained in:
Dima Gerasimov 2024-08-28 01:13:18 +01:00
parent f563dee215
commit 8b1ec35286
30 changed files with 83 additions and 67 deletions

View file

@ -153,7 +153,7 @@ def measurements() -> Iterable[Res[Measurement]]:
oldfmt = False
db_dt = None
for i, (name, tsc, temp, hum, pres, dewp) in enumerate(datas):
for (name, tsc, temp, hum, pres, dewp) in datas:
if is_bad_table(name):
continue