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

This commit is contained in:
Trenton H
2023-03-28 09:39:30 -07:00
parent 5869467db3
commit ce41ac9158
110 changed files with 507 additions and 491 deletions

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()