From e60cee24eaa604e778412881e849cac85fb7e0af Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 4 Apr 2026 13:09:42 -0400 Subject: [PATCH 1/3] fix(bin): correct misleading echo in install-rs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are library-only crates using cargo build, not cargo install. The "install complete" message was misleading — changed to "build complete". Co-Authored-By: Claude Opus 4.6 (1M context) --- bin/install-rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/install-rs b/bin/install-rs index 5229e1c..dc56d34 100755 --- a/bin/install-rs +++ b/bin/install-rs @@ -5,4 +5,4 @@ cd "$(dirname "${BASH_SOURCE[0]}")/.." echo "Building stringflow Rust crate..." cargo build --release -echo "Rust install complete!" +echo "Rust build complete!" From 4dfc57fee9ed1613e17d6cf5ed69ecb67c8fd9b2 Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 4 Apr 2026 13:09:44 -0400 Subject: [PATCH 2/3] refactor(test): move Python tests to top-level tests/ directory Aligns with convention used by other dkdc-io repos (lm, bookmarks, sh) and ensures bin/test-py discovers tests via default pytest collection. Co-Authored-By: Claude Opus 4.6 (1M context) --- py/stringflow/test_api.py => tests/test_stringflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename py/stringflow/test_api.py => tests/test_stringflow.py (98%) diff --git a/py/stringflow/test_api.py b/tests/test_stringflow.py similarity index 98% rename from py/stringflow/test_api.py rename to tests/test_stringflow.py index be01207..f364f61 100644 --- a/py/stringflow/test_api.py +++ b/tests/test_stringflow.py @@ -1,7 +1,7 @@ """Tests for the stringflow Python API. E2E tests require a running llama-server on localhost:8080. -Run with: uv run pytest py/stringflow/test_api.py +Run with: uv run pytest tests/test_stringflow.py """ import pytest From c4423d894ba43ae3f635894b0bbb7034eb321488 Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 4 Apr 2026 13:40:38 -0400 Subject: [PATCH 3/3] fix: add .pytest_cache to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c79b9fd..b7cb4d2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ __pycache__/ *.egg-info/ .venv/ .ruff_cache/ +.pytest_cache/ .DS_Store