Run ruff format changes and finalize indentation and lint fixes.
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Test script to check table header visibility in Arc theme."""
|
||||
# ruff: noqa: E402
|
||||
|
||||
import sys
|
||||
import tkinter as tk
|
||||
from pathlib import Path
|
||||
from tkinter import ttk
|
||||
|
||||
from init import logger
|
||||
from theme_manager import ThemeManager
|
||||
# Ensure the 'src' directory is on sys.path so 'thechart' package is importable
|
||||
SRC_DIR = Path(__file__).resolve().parent.parent / "src"
|
||||
if str(SRC_DIR) not in sys.path:
|
||||
sys.path.insert(0, str(SRC_DIR))
|
||||
|
||||
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"))
|
||||
|
||||
# Add src directory to Python path
|
||||
src_path = Path(__file__).parent / "src"
|
||||
|
||||
Reference in New Issue
Block a user