Skip to content

Commit 0115577

Browse files
committed
Update CONTRIBUTING.md to use explicit .venv/bin paths for reproducible local checks
- Replace `python3 -m ruff/mypy/pytest` with `.venv/bin/ruff/mypy/pytest` to ensure the venv's own binaries are used regardless of active Python
1 parent 47b7ec6 commit 0115577

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ All notable changes to TeaAgent are tracked here.
88
- Unified package version lookup to `importlib.metadata.version("teaagent")` with a local fallback, removing hard-coded duplication risk between code and packaging metadata.
99
- Narrowed `teaagent.__all__` to a stable core API surface and added a migration guide at `docs/migration-top-level-api.md` for projects that relied on star-import convenience.
1010
- Clarified local developer setup for PEP 668 environments by adding virtualenv-first install steps to `README.md` and `CONTRIBUTING.md`.
11+
- Updated contributor check commands to use `.venv/bin/...` explicitly for reproducible local lint/type/test runs.
1112
- Consolidated agent-instruction precedence by making `AGENT.md` a compatibility pointer and declaring `AGENTS.md` as the canonical rule source.
1213
- Pinned dev `mypy` to `<2` to keep Python 3.9 type-check configuration compatible and avoid local warning churn.
1314
- Split `teaagent/tui.py` (517 → ~290 lines) by extracting `handle_command` logic to `_commands.py`.

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ pre-commit install
1919
Run the same checks as CI before opening a pull request:
2020

2121
```bash
22-
python3 -m ruff check .
23-
python3 -m mypy teaagent/
24-
python3 -m pytest -q
22+
.venv/bin/ruff check .
23+
.venv/bin/mypy teaagent/
24+
.venv/bin/pytest -q
2525
```
2626

2727
## Pull Requests

0 commit comments

Comments
 (0)