Thank you for your interest in contributing to the Ceylon AI Multi-Agent System (MAS) project! We welcome contributions from the community to help make this project better. Below are some guidelines to help you get started.
- How to Contribute
- Code of Conduct
- Development Setup
- Submitting Changes
- Style Guides
- Developer Guidelines
- Fork the repository: Click the 'Fork' button at the top right corner of the repository page.
- Clone your fork:
git clone https://github.com/ceylonai/ceylon cd ceylon
- Create a branch:
git checkout -b your-feature-branch
- Make your changes: Develop your feature or fix.
- Commit your changes:
git commit -m "Description of your changes"
- Push to your fork:
git push origin your-feature-branch
- Create a pull request: Go to the repository page on GitHub and click 'New pull request'.
Please note that this project adheres to a Code of Conduct. By participating, you are expected to uphold this code.
- Install dependencies for Rust and Python projects.
- Follow the Rust Development and Python Development guidelines below for detailed setup instructions.
- Ensure that your code adheres to the project's style guides.
- Write clear and descriptive commit messages.
- Include tests for new features or bug fixes.
- Ensure that all tests pass before submitting a pull request.
- Use the present tense ("Add feature" not "Added feature").
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...").
- Limit the first line to 72 characters or less.
- Follow the Rust API Guidelines.
- Ensure your code is formatted using
rustfmt
. - Use
clippy
to check for common mistakes and improve code quality.
- Follow PEP 8.
- Ensure your code is formatted using
black
. - Use
flake8
to check for common mistakes and improve code quality.
-
Setup
- Install Rust:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Add required components:
rustup component add clippy rustfmt
- Install Rust:
-
Building the Project
cargo build
-
Running Tests
cargo test
-
Linting and Formatting
- Format your code:
cargo fmt
- Run clippy for lint checks:
cargo clippy
- Format your code:
-
Setup
- Install Python dependencies:
pip install -r requirements.txt
- Install Python dependencies:
-
Running the Project
python main.py
-
Running Tests
pytest
-
Linting and Formatting
- Format your code:
black .
- Run flake8 for lint checks:
flake8
- Format your code:
Thank you for contributing to the Ceylon: Multi-Agent System (MAS) project!