mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 19:07:17 +01:00
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:
parent
cb64e93b97
commit
b28dfdeb60
1
.github/workflows/ts-config-tests.yml
vendored
1
.github/workflows/ts-config-tests.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths: ['ts_config/**']
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
1
.github/workflows/ts-core-tests.yml
vendored
1
.github/workflows/ts-core-tests.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths: ['ts_core/**', 'ts_config/**']
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
1
.github/workflows/web-ui-tests.yml
vendored
1
.github/workflows/web-ui-tests.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths: ['web_ui/**', 'ts_config/**']
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
@ -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"))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user