ruff: enable B warnings (mainly suppressed exceptions and unused variables)
This commit is contained in:
parent
d0df8e8f2d
commit
72cc8ff3ac
30 changed files with 83 additions and 67 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue