refactor: reverse visibility for get_tool/_get_tool methods

This commit is contained in:
Jeremiah Lowin 2026-01-17 14:38:07 -05:00
commit b13e1c7caf
14 changed files with 48 additions and 50 deletions

View file

@ -6,23 +6,21 @@ FastMCP is a comprehensive Python framework (Python ≥3.10) for building Model
## Required Development Workflow
**CRITICAL**: Always run these commands in sequence before committing:
**CRITICAL**: Always run these commands in sequence before committing.
```bash
uv sync # Install dependencies
uv run prek run --all-files # Ruff + Prettier + ty
uv run pytest -n auto # Run full test suite
```
**All three must pass** - this is enforced by CI. Alternative: `just build && just typecheck && just test`
In addition, you must pass static checks. This is generally done as a pre-commit hook with `prek` but you can run it manually with:
```bash
uv run prek run --all-files # Ruff + Prettier + ty
```
**Tests must pass and lint/typing must be clean before committing.**
**Before creating a PR**, evaluate whether documentation needs updating:
- New features or APIs require corresponding docs
- Changed behavior should be reflected in existing docs
- Check `docs/` for affected pages
## Repository Structure
| Path | Purpose |