Skip to content

Commit c8aaff6

Browse files
aqua5230claude
andcommitted
chore: align test + type ignore after PR aqua5230#15/aqua5230#16 merge
- _state_from_outcome callers in two PR aqua5230#16 tests needed the new project_rows_all arg introduced by PR aqua5230#15. - menubar.py:536 type: ignore is no longer needed after the merge brought the surrounding context into mypy's reach. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 4e0895a commit c8aaff6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

menubar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ def _check_update_in_background(
533533
}
534534
_save_preferences(prefs)
535535
except Exception:
536-
current_version = None # type: ignore[assignment]
536+
current_version = None
537537

538538
if not ignore_cooldown and _update_dismissed_recently(prefs):
539539
return

tests/test_menubar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,6 +1176,7 @@ def test_state_from_outcome_hides_setup_button_when_no_statusline_target_exists(
11761176
[],
11771177
[],
11781178
[],
1179+
[],
11791180
)
11801181

11811182
assert state.show_install_button is False
@@ -1193,6 +1194,7 @@ def test_state_from_outcome_shows_setup_button_for_codex_only(
11931194
[],
11941195
[],
11951196
[],
1197+
[],
11961198
)
11971199

11981200
assert state.show_install_button is True

0 commit comments

Comments
 (0)