Fix tests, add vulture_ignorelist.py, fix markdown_editor highlighter bug

This commit is contained in:
Miguel Jacq 2025-11-14 16:16:27 +11:00
parent f6e10dccac
commit 02a60ca656
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
14 changed files with 2277 additions and 61 deletions

View file

@ -16,7 +16,6 @@ def editor(app, qtbot):
return ed
@pytest.mark.gui
def test_findbar_basic_navigation(qtbot, editor):
editor.from_markdown("alpha\nbeta\nalpha\nGamma\n")
editor.moveCursor(QTextCursor.Start)
@ -113,7 +112,6 @@ def test_update_highlight_clear_when_empty(qtbot, editor):
assert not editor.extraSelections()
@pytest.mark.gui
def test_maybe_hide_and_wrap_prev(qtbot, editor):
editor.setPlainText("a a a")
fb = FindBar(editor=editor, shortcut_parent=editor)