Thank you for your interest in contributing to the DataMCPServerAgent project! This document provides guidelines for contributing to the project.
- Fork the repository on GitHub
- Clone your fork locally
- Create a new branch for your contribution
- Make your changes
- Push your changes to your fork
- Submit a pull request
-
Install the package in development mode:
pip install -e . -
Install development dependencies:
pip install -r requirements-dev.txt
-
Create a
.envfile from the template:cp .env.template .env
Then edit the
.envfile with your credentials.
This project follows the PEP 8 style guide for Python code. Please ensure your code adheres to this style guide.
You can use tools like flake8 and black to check and format your code:
# Check code style
flake8 src tests
# Format code
black src testsPlease write tests for your code. This project uses unittest for testing.
To run the tests:
python run_tests.pyTo run specific tests:
python run_tests.py test_patternPlease update the documentation when making changes to the code. This project uses Markdown for documentation.
Documentation files are located in the docs/ directory.
- Ensure your code follows the code style guidelines
- Update the documentation if necessary
- Add tests for your changes
- Ensure all tests pass
- Submit a pull request
Please use descriptive commit messages that explain the changes you've made. Follow the Conventional Commits specification for commit messages.
Examples:
feat: Add multi-agent learning systemfix: Fix memory persistence bugdocs: Update installation instructionstest: Add tests for memory systemrefactor: Refactor tool selection algorithm
If you find a bug or have a feature request, please create an issue on GitHub. Please include as much information as possible, including:
- A clear and descriptive title
- A detailed description of the issue or feature request
- Steps to reproduce the issue (if applicable)
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Environment information (OS, Python version, etc.)
Please be respectful and considerate of others when contributing to this project. We strive to create a welcoming and inclusive environment for all contributors.
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.