Development Guide¶
Welcome to the Bedrock Swarm development guide. This section provides comprehensive information for developers who want to contribute to the framework or build applications using it.
Getting Started¶
Development Workflow¶
- Fork the repository
- Set up your development environment
- Create a feature branch
- Make your changes
- Write/update tests
- Update documentation
- Submit a pull request
Code Standards¶
We follow these coding standards:
- Python Style Guide:
- Follow PEP 8
- Use type hints
- Write docstrings
-
Keep functions focused
-
Documentation:
- Update API docs
- Include examples
- Write clear commit messages
-
Maintain changelog
-
Testing:
- Write unit tests
- Include integration tests
- Maintain coverage
- Document test cases
Development Tools¶
Essential tools for development:
- Code Quality:
- Black (formatting)
- isort (import sorting)
- flake8 (linting)
-
mypy (type checking)
-
Testing:
- pytest (testing framework)
- coverage (code coverage)
-
pytest-asyncio (async testing)
-
Documentation:
- MkDocs (documentation)
- mkdocstrings (API docs)
- mkdocs-material (theme)
Contributing¶
See our Contributing Guide for detailed information on:
- Code submission process
- Review guidelines
- Release process
- Community guidelines