Configures ruff as the one stop linter and resolves warnings it raised

This commit is contained in:
Trenton H committed 2023-04-01 17:03:52 -07:00
1 parent 5869467db3
commit ce41ac9158
110 files changed
+507 -491

No files matched your search

+1 -1
View File
@@ -297,7 +297,7 @@ def update_document_archive_file(document_id):
except Exception:
logger.exception(
f"Error while parsing document {document} " f"(ID: {document_id})",
f"Error while parsing document {document} (ID: {document_id})",
)
finally:
parser.cleanup()