Thank you for your interest in contributing to the AI Liberation Front (ailf)! This document provides guidelines and instructions for contributing to this project.
- Python 3.12 or higher
- pip
- Redis (for messaging functionality)
-
Clone the repository:
git clone https://github.com/ai-liberation-front/ailf.git cd ailf -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install development dependencies:
pip install -e ".[dev]"
Run the test suite with:
pytestFor test coverage:
pytest --cov=ailf tests/This project follows PEP 8 style guidelines. We use the following tools to maintain consistent code quality:
- Black for code formatting
- isort for import sorting
- flake8 for linting
- mypy for type checking
Run all style checks with:
make lintOr individually:
black .
isort .
flake8
mypy .- Fork the repository
- Create a feature branch
- Implement your changes
- Add tests for any new functionality
- Ensure all tests pass
- Update documentation as necessary
- Submit a pull request
Documentation is built with Sphinx. You can build the documentation locally with:
cd docs
make htmlWe use semantic versioning. Please make sure your changes are compatible with the versioning scheme.
If you have questions, please open an issue on GitHub or contact the maintainers.
Thank you for contributing to AI Liberation Front!