You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.0 KiB
2.0 KiB
Contributing to Swarms 🛠️
Thank you for your interest in contributing to Swarms! This guide will help you get started with your contribution.
Essential Steps for Contributing
1. Fork and Clone the Repository
- Fork the Swarms repository to your GitHub account by clicking the "Fork" button in the top-right corner of the repository page.
- Clone your forked repository to your local machine:
git clone https://github.com/kyegomez/swarms.git
2. Make Changes
- Create a new branch for your changes:
git checkout -b your-branch-name
- Make your desired changes to the codebase.
3. Commit and Push Changes
- Stage your changes:
git add .
- Commit your changes:
git commit -m "Your descriptive commit message"
- Push your changes to your fork:
git push -u origin your-branch-name
4. Create a Pull Request
- Go to the original Swarms repository on GitHub.
- Click on "Pull Requests" and then "New Pull Request".
- Select your fork and branch as the compare branch.
- Click "Create Pull Request".
- Fill in the pull request description and submit.
Important Considerations
- Ensure your code follows the project's coding standards.
- Include tests for new features or bug fixes.
- Update documentation as necessary.
- Make sure your branch is up-to-date with the main repository before submitting a pull request.
Additional Information
Code Quality
We use pre-commit hooks to maintain code quality. To set up pre-commit:
- Install pre-commit:
pip install pre-commit
- Set up the git hook scripts:
pre-commit install
Documentation
- We use mkdocs for documentation. To serve the docs locally:
mkdocs serve
Testing
- Run tests using pytest:
pytest
For more detailed information on code quality, documentation, and testing, please refer to the full contributing guidelines in the repository.