diff --git a/CLAUDE.md b/CLAUDE.md index b8f22f6..8c5d16a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,63 +1,5 @@ # CLAUDE.md -This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. - -## Build and Development Commands - -```bash -make install # Install uv and prek hooks -make test # Run pytest -make ruff # Format and lint with ruff -make hooks # Run prek on all files -make upgrade # Upgrade all dependencies -``` - -Run a single test: - -```bash -uv run pytest tests/test_file.py::test_name -v -``` - -Run tests with optional marker: - -```bash -uv run pytest --optional -``` - -### API Commands - -Run the API locally: - -```bash -uv run python template/api.py -``` - -Test API endpoint: - -```bash -make test-api # or: http localhost:7000 -``` - -### Docker Commands - -```bash -make docker # Build and run container -make build # Build image only -make debug # Run container interactively -``` - -## Code Architecture - -- `/template` - Main Python package - - `main.py` - Entry point with version handling - - `api.py` - FastAPI application with `/` and `/predict` endpoints -- `/tests` - Pytest test files -- `/data` - Data directory - -## Conventions - - Uses `uv` for dependency management (not pip) - Run any command with `uv run ` - Add dependencies: `uv add ` or `uv add --dev ` -- Docstrings follow NumPy convention -- Ruff handles both linting and formatting diff --git a/uv.lock b/uv.lock index d7939d8..0f9912f 100644 --- a/uv.lock +++ b/uv.lock @@ -8,7 +8,7 @@ resolution-markers = [ ] [options] -exclude-newer = "2026-03-30T09:18:32.156631261Z" +exclude-newer = "2026-03-30T09:28:02.408746294Z" exclude-newer-span = "P7D" [[package]]