Contributing to MinimalAgent
We're thrilled that you're interested in contributing to MinimalAgent! This document provides guidelines and instructions for contributing to the project.
Setting Up Development Environment
-
Fork and clone the repository:
-
Create a virtual environment:
-
Install development dependencies:
Running Tests
We use pytest for testing. Run the tests with:
For test coverage:
Code Style
We follow PEP 8 style guidelines. We use Black for code formatting and isort for import sorting:
Pull Request Process
-
Create a branch for your feature:
-
Make your changes:
- Write code following the style guidelines
- Add tests for new functionality
-
Update documentation as needed
-
Ensure tests pass:
-
Submit a pull request:
- Provide a clear description of the changes
- Reference any issues that the PR addresses
- Make sure CI checks pass
Documentation
Documentation is crucial - please update docs when adding or changing features:
- Update docstrings for any modified functions/classes
- Update README.md if appropriate
- Update CHANGELOG.md with your changes
- For significant changes, add/update the appropriate documentation pages
To preview documentation changes:
Then visit http://localhost:8000 in your browser.
Reporting Issues
When reporting issues, please include:
- A clear and descriptive title
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- System information (Python version, OS, etc.)
- If possible, a minimal code example demonstrating the issue
Feature Requests
We welcome feature requests! When submitting:
- Describe the feature in detail
- Explain why it would be valuable
- Provide examples of how it would be used
- Indicate if you're willing to help implement it
License
By contributing, you agree that your contributions will be licensed under the project's MIT License.