style: apply ruff auto-fixes

This commit is contained in:
2026-01-19 03:14:30 -08:00
parent 3ab122a55d
commit a961ac3ce7
72 changed files with 2477 additions and 2871 deletions

View File

@@ -3,20 +3,16 @@
from textual.app import ComposeResult
from textual.screen import ModalScreen
from textual.containers import Container, Horizontal, Vertical
from textual.widgets import Static, Button, Input, TextArea, Tree, Select
from textual.widgets import Static, Button, Input, TextArea, Select
from textual.binding import Binding
import logging
from typing import Optional, Any
from typing import Optional
from pathlib import Path
import json
import sys
import subprocess
from datetime import datetime
# Add parent directory to path for imports
sys.path.insert(0, str(Path(__file__).parent.parent))
from SYS.utils import format_metadata_value
from SYS.config import load_config
logger = logging.getLogger(__name__)
@@ -147,7 +143,7 @@ class ExportModal(ModalScreen):
if not metadata:
logger.info(
f"_get_metadata_text - No metadata found, returning 'No metadata available'"
"_get_metadata_text - No metadata found, returning 'No metadata available'"
)
return "No metadata available"
@@ -184,7 +180,7 @@ class ExportModal(ModalScreen):
)
return "\n".join(lines)
else:
logger.info(f"_get_metadata_text - No matching fields found in metadata")
logger.info("_get_metadata_text - No matching fields found in metadata")
return "No metadata available"
def compose(self) -> ComposeResult: