Contributing to Unchained¶
Community Driven
We welcome contributions to Unchained! This guide will help you get started with contributing to the project.
Development Setup¶
Virtual Environment
Always use a virtual environment to avoid conflicts with other projects or system-wide Python packages.
Running Tests¶
Use pytest to verify that your changes don't break existing functionality:
Code Style¶
Unchained uses ruff
for code formatting and linting:
Command | Description |
---|---|
ruff format src tests | Format code according to project style |
ruff check src tests | Check code for style and error issues |
Contribution Workflow¶
Step 1: Create a new branch
Step 2: Make your changes
Step 3: Commit your changes
Step 4: Push your changes
Step 5: Create a pull request on GitHub
Good Pull Requests
- Have a clear purpose and description
- Include tests for new functionality
- Update documentation as needed
- Follow the code style guidelines
- Address one concern or feature at a time
Documentation¶
When making documentation changes:
- Edit markdown files in the
docs/
directory - Run the documentation server to preview changes:
- Visit http://127.0.0.1:8001 in your browser
Getting Help¶
If you have questions or need help:
- Open an issue on GitHub
- Check existing issues and discussions