Run ruff format changes and finalize indentation and lint fixes.
This commit is contained in:
@@ -1,16 +1,24 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Verify that other themes still work correctly with Arc-specific change."""
|
||||
# ruff: noqa: E402
|
||||
|
||||
import sys
|
||||
import tkinter as tk
|
||||
from pathlib import Path
|
||||
|
||||
from init import logger
|
||||
from theme_manager import ThemeManager
|
||||
|
||||
# Add src directory to Python path
|
||||
src_path = Path(__file__).parent / "src"
|
||||
sys.path.insert(0, str(src_path))
|
||||
def _ensure_src_on_path() -> None:
|
||||
src_dir = Path(__file__).resolve().parent.parent / "src"
|
||||
if str(src_dir) not in sys.path:
|
||||
sys.path.insert(0, str(src_dir))
|
||||
|
||||
|
||||
_ensure_src_on_path()
|
||||
from thechart.core.constants import LOG_LEVEL
|
||||
from thechart.core.logger import init_logger
|
||||
from thechart.ui import ThemeManager
|
||||
|
||||
logger = init_logger(__name__, testing_mode=(LOG_LEVEL == "DEBUG"))
|
||||
|
||||
|
||||
def verify_other_themes():
|
||||
|
||||
Reference in New Issue
Block a user