Contributing¶
We welcome contributions to Barebones RPG Framework!
How to Contribute¶
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Ensure all tests pass
Submit a pull request
Development Setup¶
# Clone the repository
git clone <your-fork-url>
cd barebones_rpg
# Install with dev dependencies
uv sync --dev
# Run tests
uv run pytest
# Format code
uv run black .
# Type checking
uv run mypy barebones_rpg
Guidelines¶
Code Style¶
Follow PEP 8
Use type hints
Write docstrings for all public APIs
Format with Black
Testing¶
Write tests for new features
Maintain test coverage
Test edge cases
Use pytest fixtures
Documentation¶
Update docstrings
Add examples
Update relevant guides
Regenerate Sphinx docs
Areas for Contribution¶
We’re especially interested in contributions for:
Additional example games
More AI implementations
Custom combat actions
Renderer implementations
Data loaders
Documentation improvements
Bug fixes
Questions?¶
Open an issue on GitHub or start a discussion.