Skip to content

Commit 17aed5d

Browse files
committed
Don't ask people to set the env var for everyday test runs; scripts/test and CI carry it
1 parent 1bc8670 commit 17aed5d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ CI requires 100% (`fail_under = 100`, `branch = true`).
9696

9797
```bash
9898
uv run --frozen coverage erase
99-
PYTHONWARNDEFAULTENCODING=1 uv run --frozen coverage run -m pytest tests/path/test_foo.py
99+
uv run --frozen coverage run -m pytest tests/path/test_foo.py
100100
uv run --frozen coverage combine
101101
uv run --frozen coverage report --include='src/mcp/path/foo.py' --fail-under=0
102102
# UV_FROZEN=1 propagates --frozen to the uv subprocess strict-no-cover spawns

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ uv tool install pre-commit --with pre-commit-uv --force-reinstall
8686

8787
3. Make your changes
8888

89-
4. Ensure tests pass (`scripts/test` runs them the way CI does, with coverage):
89+
4. Ensure tests pass:
9090

9191
```bash
92-
./scripts/test
92+
uv run pytest
9393
```
9494

9595
5. Run type checking:

0 commit comments

Comments
 (0)