Thank you for your interest in contributing to ResPredAI! This document provides guidelines for setting up a development environment, running tests, and submitting contributions.
git clone https://github.com/EttoreRocchi/ResPredAI.git
cd ResPredAI
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .[dev]Verify installation:
respredai --version
pytest -v -m "not slow"Fast tests (recommended):
pytest -v -m "not slow"Full suite:
pytest -v- Create a branch
git checkout -b feature/name
# or
git checkout -b fix/issue-
Implement changes
- Add/update tests if needed
- Update docs if needed
-
Validate
pytest -v -m "not slow"
respredai validate-config example/config_example.ini --check-data- Commit
git commit -m "[type] Description"Types: feat, fix, enh, docs, test, refactor, chore
git push origin feature/nameThen open a PR on GitHub:
- Describe your changes
- Reference issues
- Ensure CI passes
- Open an issue on GitHub
- Check existing docs & issues
By contributing to ResPredAI, you agree that your contributions will be licensed under the MIT License.