Contributing to LeanInteract¶
Contributions to LeanInteract are welcome and appreciated! This guide will help you understand how you can contribute to the project.
Getting Started¶
- Fork the repository on GitHub.
- Clone your fork to your local machine.
- Create a feature branch:
git checkout -b feature-name
Development Setup¶
Install the package in development mode:
Code Style and Guidelines¶
- Use ruff for code formatting.
- Write descriptive docstrings.
- Include type hints where appropriate.
- Follow the existing code structure.
- Write unit tests for new features.
- Update the documentation if necessary.
Submitting Contributions¶
- Commit your changes:
git commit -am 'Add new feature'
- Push to your branch:
git push origin feature-name
- Submit a pull request to the main repository.
Pull Request Guidelines¶
- Describe your changes clearly and concisely.
- Link to any relevant issues using the # symbol (e.g., #42).
- Ensure your code passes all tests.
- Include tests for new features or bug fixes.
Running Tests¶
Building Documentation¶
You can build and preview the documentation locally:
This will start a local web server at http://127.0.0.1:8000/ where you can preview the documentation as you make changes.
Reporting Issues¶
If you find a bug or would like to request a feature:
- Check if the issue already exists in the GitHub issues.
- If not, create a new issue with a clear description and, if applicable, steps to reproduce.
Contact¶
If you have questions about contributing, feel free to contact the maintainer at auguste.poiroux@epfl.ch.
Code of Conduct¶
Please be respectful and inclusive when contributing to this project. Harassment or abusive behavior will not be tolerated.
Thank you for contributing to LeanInteract!