mirror of https://github.com/aliasrobotics/cai.git
1.2 KiB
1.2 KiB
Contributing to CAI
Development Setup
- Clone the repository:
git clone https://github.com/yourusername/cai.git
cd cai
- Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install development dependencies:
pip install -e ".[dev]"
Code Style
CAI follows PEP 8 style guidelines. We use:
- Black for code formatting
- isort for import sorting
- flake8 for linting
- mypy for type checking
To run the code quality checks:
black .
isort .
flake8
mypy .
Testing
We use pytest for testing. To run the test suite:
pytest
Documentation
Documentation is built using MkDocs. To build and serve the documentation locally:
mkdocs serve
Pull Request Process
- Fork the repository
- Create a feature branch
- Make your changes
- Run all tests and code quality checks
- Submit a pull request
Code of Conduct
Please read and follow our Code of Conduct when contributing to CAI.
License
By contributing to CAI, you agree that your contributions will be licensed under the project's MIT License.