-
Notifications
You must be signed in to change notification settings - Fork 5
Development
Syed Asif edited this page Jun 8, 2026
·
6 revisions
This project uses uv for fast, reproducible dependency management.
# Install dependencies
uv sync
# Run the server
uv run web-search-mcpWe use pytest for all tests.
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=web_search_mcp
# Run source-specific test suites
uv run pytest tests/test_ddg_functional.py
uv run pytest tests/test_reddit.py
uv run pytest tests/test_hackernews.py
uv run pytest tests/test_github.py
uv run pytest tests/test_polymarket.py
uv run pytest tests/test_server.py- Python Version: 3.11+
-
Linting:
ruff -
Type Checking:
mypy
- Imports: Use absolute imports.
-
Naming:
snake_casefor functions,PascalCasefor classes. -
Type Hints: Use Python 3.11+ union syntax (
str | None). -
Errors: Use
utils.format_error()for consistent MCP responses.
- Use Conventional Commits (
feat:,fix:,refactor:,test:,chore:). - Run
uv run ruff check . && uv run pytestbefore committing. - Use feature branches for new functionality.
Home | Architecture | Tools | Configuration