style: apply ruff auto-fix

- Auto-formatted code with ruff format
- Applied ruff linting fixes with --fix

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-02-25 15:43:40 +00:00
parent e3cd687757
commit 69cb16c522
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -139,7 +139,6 @@ class TestTestTokenOuterException:
def test_test_token_outer_exception(self, client: TestClient): def test_test_token_outer_exception(self, client: TestClient):
"""Trigger the outermost exception handler in test_google_drive_token.""" """Trigger the outermost exception handler in test_google_drive_token."""
from app.config import settings
# Patch getattr on settings to raise on the first call within the try block # Patch getattr on settings to raise on the first call within the try block
with patch("app.api.google_drive.getattr", side_effect=Exception("unexpected error")): with patch("app.api.google_drive.getattr", side_effect=Exception("unexpected error")):
-1
View File
@@ -5,7 +5,6 @@ Focuses on uncovered lines: 98-99, 121-143, 160-161, 170-171,
324-326, 400-402, 436-438. 324-326, 400-402, 436-438.
""" """
import os
from unittest.mock import MagicMock, patch from unittest.mock import MagicMock, patch
import pytest import pytest