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-23 21:24:11 +00:00
parent 631d43c664
commit 5ee3d8cd84
2 changed files with 1 additions and 5 deletions
+1 -2
View File
@@ -102,7 +102,6 @@ class AzureOCRProvider(OCRProvider):
name = "azure"
def process(self, file_path: str) -> OCRResult:
import azure.core.exceptions
from azure.ai.documentintelligence import DocumentIntelligenceClient
from azure.ai.documentintelligence.models import AnalyzeOutputOption
from azure.core.credentials import AzureKeyCredential
@@ -390,7 +389,7 @@ class AWSTextractOCRProvider(OCRProvider):
if not aws_access_key_id or not aws_secret_access_key:
raise ValueError(
"AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY must be set " "when using the AWS Textract OCR provider."
"AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY must be set when using the AWS Textract OCR provider."
)
logger.info(f"[AWSTextract] Processing {os.path.basename(file_path)} (region={region})")