diff --git a/docs/.nojekyll b/docs/.nojekyll
new file mode 100644
index 0000000..e69de29
diff --git a/docs/index.html b/docs/index.html
new file mode 100644
index 0000000..e3f36b2
--- /dev/null
+++ b/docs/index.html
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+socrtwo project
+
+
+
+
+
+
+ Loading the project description…
+
+
+
+
+
+
diff --git a/src/adhush/detect/jingle.py b/src/adhush/detect/jingle.py
index c2ce0dd..3cc7cdc 100644
--- a/src/adhush/detect/jingle.py
+++ b/src/adhush/detect/jingle.py
@@ -56,7 +56,7 @@ def tempo_stretch(blocks: list[int], factor: float) -> list[int]:
def local_hour(wall: float) -> int:
- return datetime.fromtimestamp(wall).hour # noqa: DTZ006 — the viewer's own clock, by design
+ return datetime.fromtimestamp(wall).hour # naive on purpose: the viewer's own clock
@dataclass
diff --git a/tests/unit/test_detectors.py b/tests/unit/test_detectors.py
index 36d5037..59278e6 100644
--- a/tests/unit/test_detectors.py
+++ b/tests/unit/test_detectors.py
@@ -494,8 +494,8 @@ def test_hours_admit_a_sting_a_break_early_and_round_trip(self, tmp_path: Path)
from adhush.config import JingleConfig
from adhush.detect.jingle import JingleDetector, local_hour
- nine = datetime(2026, 9, 18, 9, 5).timestamp() # noqa: DTZ001 — local, like the viewer's clock
- two = datetime(2026, 9, 18, 14, 5).timestamp() # noqa: DTZ001
+ nine = datetime(2026, 9, 18, 9, 5).timestamp() # naive: local, like the viewer's clock
+ two = datetime(2026, 9, 18, 14, 5).timestamp()
assert local_hour(nine) == 9 and local_hour(two) == 14
cfg = JingleConfig(file=str(tmp_path / "jingles.tsv"))
det = JingleDetector(cfg)
diff --git a/tests/unit/test_platform_capture.py b/tests/unit/test_platform_capture.py
index 3b97764..be2e643 100644
--- a/tests/unit/test_platform_capture.py
+++ b/tests/unit/test_platform_capture.py
@@ -114,7 +114,8 @@ def test_registry_builds_new_backends(self) -> None:
)
assert isinstance(build_capture(CaptureConfig(backend="line_in")), LineInSource)
- def test_open_without_ffmpeg_raises(self) -> None:
- # This environment has no ffmpeg on PATH.
+ def test_open_without_ffmpeg_raises(self, monkeypatch: pytest.MonkeyPatch) -> None:
+ # Hide ffmpeg rather than assume the machine running the tests lacks it.
+ monkeypatch.setattr("adhush.capture.microphone.shutil.which", lambda _name: None)
with pytest.raises(CaptureError, match="ffmpeg"):
MicrophoneSource(CaptureConfig(), platform="linux").open()