From a84c5711160da6338b2ea7bc46c31a9a9a9e0f9e Mon Sep 17 00:00:00 2001 From: Vishal Bala Date: Fri, 30 Oct 2026 15:07:32 +0100 Subject: [PATCH] docs: fix the coverage command in CONTRIBUTING.md pytest-cov is not a dev dependency, so `uv run pytest --cov` fails with an unrecognised argument. Add it for the run with `uv run --with`. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c547bbea..1bd8ae07 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -174,8 +174,8 @@ uv run pytest tests/unit/test_fields.py -v # Run the Redis Cluster tests, which are skipped by default uv run pytest --run-cluster-tests -m requires_cluster -# Run tests with coverage -uv run pytest --cov=redisvl --cov-report=html +# Run tests with coverage (pytest-cov is not a dev dependency, so add it for this run) +uv run --with pytest-cov pytest --cov=redisvl --cov-report=html ``` **Note:** Tests requiring external APIs need appropriate API keys set as environment variables.