mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-26 14:17:12 +01:00
Compare commits
2 Commits
fbf09fdfef
...
0fb2da9c86
| Author | SHA1 | Date | |
|---|---|---|---|
| 0fb2da9c86 | |||
| f716b9529f |
@ -123,11 +123,12 @@ repos:
|
|||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- pytest
|
- pytest
|
||||||
# Kept in step with pyproject.toml: pip refuses two different
|
# Kept in step with pyproject.toml: pip refuses two different
|
||||||
# direct URLs for one distribution, so a stale pin here becomes
|
# direct URLs for one distribution, so any pin that drifts from
|
||||||
# an unresolvable hook env once freedays joins the list.
|
# the manifest becomes an unresolvable hook environment rather
|
||||||
|
# than merely an old one.
|
||||||
- gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock
|
- gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock
|
||||||
- crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync
|
- crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync
|
||||||
- freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays
|
- freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays
|
||||||
- mcp>=2,<3
|
- mcp>=2,<3
|
||||||
- pydantic
|
- pydantic
|
||||||
- id: pylint
|
- id: pylint
|
||||||
@ -142,11 +143,12 @@ repos:
|
|||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- pytest
|
- pytest
|
||||||
# Kept in step with pyproject.toml: pip refuses two different
|
# Kept in step with pyproject.toml: pip refuses two different
|
||||||
# direct URLs for one distribution, so a stale pin here becomes
|
# direct URLs for one distribution, so any pin that drifts from
|
||||||
# an unresolvable hook env once freedays joins the list.
|
# the manifest becomes an unresolvable hook environment rather
|
||||||
|
# than merely an old one.
|
||||||
- gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock
|
- gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock
|
||||||
- crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync
|
- crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync
|
||||||
- freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays
|
- freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays
|
||||||
- mcp>=2,<3
|
- mcp>=2,<3
|
||||||
- pydantic
|
- pydantic
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@ requires-python = ">=3.14"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock",
|
"gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock",
|
||||||
"crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync",
|
"crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync",
|
||||||
"freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays",
|
"freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
|
|||||||
@ -4,7 +4,7 @@ bandit==1.9.4
|
|||||||
codespell==2.4.3
|
codespell==2.4.3
|
||||||
coverage==7.16.0
|
coverage==7.16.0
|
||||||
crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync
|
crdt-sync @ git+https://github.com/kuhyx/utils@crdt-sync-v0.9.1#subdirectory=crdt-sync
|
||||||
freedays @ git+https://github.com/kuhyx/utils@freedays-v0.1.0#subdirectory=freedays
|
freedays @ git+https://github.com/kuhyx/utils@freedays-v0.2.0#subdirectory=freedays
|
||||||
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock
|
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.7.3#subdirectory=gatelock
|
||||||
mcp==2.1.1
|
mcp==2.1.1
|
||||||
mypy==2.3.1
|
mypy==2.3.1
|
||||||
|
|||||||
@ -132,6 +132,11 @@ def get_flags() -> dict[str, bool]:
|
|||||||
Each predicate reads its own on-disk state file and degrades to ``False``
|
Each predicate reads its own on-disk state file and degrades to ``False``
|
||||||
when that file is missing or unreadable — none of them mutate state or
|
when that file is missing or unreadable — none of them mutate state or
|
||||||
expose secrets.
|
expose secrets.
|
||||||
|
|
||||||
|
``is_scheduled_skip_today`` keeps its name but no longer reads this app's
|
||||||
|
``scheduled_skips.json``: it is now the shared, fleet-wide free-day pool
|
||||||
|
(``~/utils/freedays``), so a true here also means diet-guard, wake-alarm,
|
||||||
|
leetcode-guard and home-guard are standing down today.
|
||||||
"""
|
"""
|
||||||
history = load_history()
|
history = load_history()
|
||||||
return {
|
return {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user