mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-21 11:32:18 +01:00
Fit the line cap; sort requirements
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze,dependency-freshness) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (8) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (9) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze,dependency-freshness) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (8) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (9) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
83ca052a1c
commit
25a5f534f2
@ -7,8 +7,8 @@ crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.11.1#subdirectory=cr
|
||||
earned-time @ git+https://github.com/kuhyx/utils@earned-time-v0.22.0#subdirectory=earned_time
|
||||
freedays @ git+https://github.com/kuhyx/utils@freedays-v0.4.3#subdirectory=freedays
|
||||
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.16.0#subdirectory=gatelock
|
||||
kuhy-credit @ git+https://github.com/kuhyx/utils@kuhy-credit-v0.3.1#subdirectory=kuhy_credit
|
||||
holds @ git+https://github.com/kuhyx/utils@holds-v0.1.0#subdirectory=holds
|
||||
kuhy-credit @ git+https://github.com/kuhyx/utils@kuhy-credit-v0.3.1#subdirectory=kuhy_credit
|
||||
mcp==2.3.0
|
||||
mypy==2.4.1
|
||||
pre-commit==4.7.0
|
||||
|
||||
@ -96,8 +96,7 @@ def _block_real_tk_and_exit() -> Iterator[None]:
|
||||
# The startup early-exit checks moved to _startup_checks; sys.exit is
|
||||
# bound there now, so it needs blocking separately.
|
||||
stack.enter_context(patch("screen_locker._startup_checks.sys.exit"))
|
||||
# The credit logo is a real tk.Canvas from kuhy_credit, outside the
|
||||
# patched modules above, so it is swapped wholesale too.
|
||||
# kuhy_credit's logo is a real tk.Canvas: swap it too.
|
||||
stack.enter_context(patch("screen_locker._credit.KuhyCredit"))
|
||||
yield
|
||||
|
||||
|
||||
@ -37,9 +37,7 @@ def test_place_credit_puts_the_logo_bottom_right() -> None:
|
||||
|
||||
credit_cls.assert_called_once_with(parent, theme="dark", size=40)
|
||||
config.type_px.assert_called_once_with("display")
|
||||
credit.place.assert_called_once_with(
|
||||
relx=1, rely=1, x=-24, y=-24, anchor="se"
|
||||
)
|
||||
credit.place.assert_called_once_with(relx=1, rely=1, x=-24, y=-24, anchor="se")
|
||||
|
||||
|
||||
@pytest.mark.usefixtures("mock_sys_exit")
|
||||
@ -89,6 +87,7 @@ def test_status_window_root_gets_a_logo(mock_tk: MagicMock) -> None:
|
||||
|
||||
def test_heat_skip_prompt_gets_a_logo(mock_tk: MagicMock) -> None:
|
||||
"""The fullscreen heat-skip prompt shows the logo too."""
|
||||
|
||||
class _Host(_heat_skip.HeatSkipMixin):
|
||||
pass
|
||||
|
||||
|
||||
@ -240,8 +240,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
|
||||
const SizedBox(height: 20),
|
||||
const _SandboxSection(),
|
||||
],
|
||||
// kuhy's shared credit logo (kuhy_credit, kuhyx/utils); the
|
||||
// app has no about screen, so it closes the Settings list.
|
||||
// kuhy's shared credit logo; no about screen, so it ends here.
|
||||
const SizedBox(height: 20),
|
||||
const KuhyCredit(),
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user