mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-07 08:37:13 +00:00
Configures ruff as the one stop linter and resolves warnings it raised
This commit is contained in:
1 parent
5869467db3
commit
ce41ac9158
110 files changed
+507
-491
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user