From c76e51391b14eccbbe74f34ffadc89a477b58a64 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 16 Mar 2026 09:05:43 +0000 Subject: [PATCH] style: apply ruff auto-fix - Auto-formatted code with ruff format - Applied ruff linting fixes with --fix Co-authored-by: github-actions[bot] --- tests/test_upload_email.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tests/test_upload_email.py b/tests/test_upload_email.py index 72be0587..d84dc59f 100644 --- a/tests/test_upload_email.py +++ b/tests/test_upload_email.py @@ -130,12 +130,14 @@ class TestExtractMetadataFromFile: # Create a test PDF with metadata writer = pypdf.PdfWriter() writer.add_blank_page(width=100, height=100) - writer.add_metadata({ - "/Title": "Test Title", - "/Author": "Test Author", - "/Subject": "Test Document", - "/Keywords": "test, metadata, pypdf" - }) + writer.add_metadata( + { + "/Title": "Test Title", + "/Author": "Test Author", + "/Subject": "Test Document", + "/Keywords": "test, metadata, pypdf", + } + ) with open(file_path, "wb") as f: writer.write(f)