Spaces:
Configuration error
Configuration error
File size: 1,026 Bytes
f679000 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | # Contributing to AMCP
## Development Setup
```bash
# Clone the repository
git clone <repo-url>
cd amcp
# Install in editable mode with dev dependencies
pip install -e ".[dev]"
# Or using uv
uv pip install -e ".[dev]"
```
## Running Tests
```bash
# Run all tests
make test
# Run with coverage
make test-cov
# Run specific test
pytest tests/test_config.py
```
## Code Quality
```bash
# Lint code
make lint
# Format code
make format
# Type check
make type-check
```
## Pre-commit Hooks
```bash
pip install pre-commit
pre-commit install
```
## Project Structure
```
amcp/
βββ src/amcp/ # Main package
β βββ __init__.py
β βββ cli.py # CLI entry point
β βββ agent.py # Agent logic
β βββ tools.py # Built-in tools
β βββ config.py # Configuration
β βββ mcp_client.py # MCP integration
βββ tests/ # Test suite
βββ .github/workflows/ # CI/CD
βββ pyproject.toml # Project metadata
```
|