chore(deps): update dependency ruff to ^0.0.200 (#1924)

* chore(deps): update dependency ruff to ^0.0.200

* resolve ruff errors

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2022-12-29 14:48:32 -09:00
committed by GitHub
parent 3ed7bc14d8
commit 36b6f1eecd
5 changed files with 32 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ class OcrService(BaseService):
continue
line = OcrTsvResponse()
for key, value in zip(titles, lines[i].split("\t")):
for key, value in zip(titles, lines[i].split("\t"), strict=False):
if key == "text":
setattr(line, key, value.strip())
elif key == "conf":