gatelock: annotate a fixture param ruff 0.16.8 now flags; TS workflows dispatchable

The ruff bump surfaced one ANN001 in test_window.py. ts-core / web-ui /
ts-config workflows gain workflow_dispatch so a workflow-only change (like the
last commit, which touched no ts_core/** path and therefore never ran) can be
re-verified on demand.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DnAYyNH1Sm4iJNidfYbrZJ
This commit is contained in:
Krzysztof Rudnicki 2026-09-16 21:53:47 +02:00
parent cb64e93b97
commit b28dfdeb60
4 changed files with 6 additions and 1 deletions

View File

@ -7,6 +7,7 @@ on:
pull_request:
branches: [main]
paths: ['ts_config/**']
workflow_dispatch:
jobs:
test:

View File

@ -7,6 +7,7 @@ on:
pull_request:
branches: [main]
paths: ['ts_core/**', 'ts_config/**']
workflow_dispatch:
jobs:
test:

View File

@ -7,6 +7,7 @@ on:
pull_request:
branches: [main]
paths: ['web_ui/**', 'ts_config/**']
workflow_dispatch:
jobs:
test:

View File

@ -102,7 +102,9 @@ class TestSetup:
topmost_on = True
mock_root.attributes.assert_any_call("-topmost", topmost_on)
def test_suspend_handles_are_the_armed_collaborators(self, mock_root) -> None:
def test_suspend_handles_are_the_armed_collaborators(
self, mock_root: MagicMock
) -> None:
"""An app that suspends the lock stops the very loop and watcher it arms."""
window, _hooks = make_window(mock_root, config=LockConfig(mode="soft"))