mirror of
https://github.com/kuhyx/wake-alarm.git
synced 2026-11-26 12:37:13 +01:00
Point wake_alarm at gatelock v0.2.0
Three pins, all of which have to move together or the gate lies: the runtime dependency in pyproject.toml, the mirror of it in requirements.txt, and -- easy to miss -- the copy inside the pylint hook's own isolated environment in .pre-commit-config.yaml. With only the first two bumped, pre-commit still resolved 0.1.1 and reported the v0.2.0 API as no-name-in-module.
This commit is contained in:
parent
c98055f8a2
commit
36330ed2d3
@ -96,7 +96,7 @@ repos:
|
|||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- pytest
|
- pytest
|
||||||
- python-kasa
|
- python-kasa
|
||||||
- gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.1.1#subdirectory=gatelock
|
- gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.2.0#subdirectory=gatelock
|
||||||
# Test suites intentionally use patterns (protected-access, magic-value
|
# Test suites intentionally use patterns (protected-access, magic-value
|
||||||
# comparisons) that don't belong in the source-code 10/10 gate.
|
# comparisons) that don't belong in the source-code 10/10 gate.
|
||||||
exclude: ^(\.venv/)|(^|/)(tests/|conftest\.py)
|
exclude: ^(\.venv/)|(^|/)(tests/|conftest\.py)
|
||||||
|
|||||||
@ -8,7 +8,7 @@ version = "1.0.0"
|
|||||||
description = "Phone-driven wake alarm with fan ramp and smart-plug control"
|
description = "Phone-driven wake alarm with fan ramp and smart-plug control"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.1.1#subdirectory=gatelock",
|
"gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.2.0#subdirectory=gatelock",
|
||||||
"python-kasa>=0.7",
|
"python-kasa>=0.7",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
bandit>=1.7.0
|
bandit>=1.7.0
|
||||||
codespell>=2.2.0
|
codespell>=2.2.0
|
||||||
coverage>=7.4.0
|
coverage>=7.4.0
|
||||||
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.1.1#subdirectory=gatelock
|
gatelock @ git+https://github.com/kuhyx/utils@gatelock-v0.2.0#subdirectory=gatelock
|
||||||
mypy>=1.8.0
|
mypy>=1.8.0
|
||||||
pre-commit>=3.6.0
|
pre-commit>=3.6.0
|
||||||
pylint>=3.0.0
|
pylint>=3.0.0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user