Run ruff format changes and finalize indentation and lint fixes.

This commit is contained in:
William Valentin
2025-08-09 12:10:16 -07:00
parent 9cec07e9f6
commit 9a5a2f0022
68 changed files with 1272 additions and 4301 deletions

View File

@@ -5,7 +5,7 @@ from tkinter import ttk
import pytest
from src.ui_manager import UIManager
from thechart.ui import UIManager
@pytest.fixture
@@ -27,7 +27,7 @@ def test_table_applies_saved_column_widths(ui_manager, root_window, monkeypatch)
def fake_get_pref(key, default=None): # type: ignore[override]
return saved.get(key, default)
monkeypatch.setattr("src.ui_manager.get_pref", fake_get_pref)
monkeypatch.setattr("thechart.core.preferences.get_pref", fake_get_pref)
main = ttk.Frame(root_window)
table_ui = ui_manager.create_table_frame(main)
@@ -45,7 +45,7 @@ def test_reapply_last_sort_descending(ui_manager, root_window, monkeypatch):
def fake_get_pref(key, default=None): # type: ignore[override]
return saved.get(key, default)
monkeypatch.setattr("src.ui_manager.get_pref", fake_get_pref)
monkeypatch.setattr("thechart.core.preferences.get_pref", fake_get_pref)
main = ttk.Frame(root_window)
table_ui = ui_manager.create_table_frame(main)