Chore: Adds additional rules for Ruff linter (#5660)

This commit is contained in:
Trenton H
2024-02-05 13:46:59 -08:00
committed by GitHub
parent fb82aa0ee1
commit 4813a7bc70
13 changed files with 117 additions and 99 deletions

View File

@@ -19,7 +19,7 @@ def _process_document(doc_id):
if parser_class:
parser = parser_class(logging_group=None)
else:
print(f"{document} No parser for mime type {document.mime_type}")
print(f"{document} No parser for mime type {document.mime_type}") # noqa: T201
return
try: