Thanks for your interest in contributing to Synthetic Data Quality Assurance! Follow these guidelines to set up your environment and streamline your contributions.
-
Clone the repository:
git clone https://github.com/mostly-ai/mostlyai-qa.git cd mostlyai-qa
If you don’t have direct write access to
mostlyai-qa
, fork the repository first and clone your fork:git clone https://github.com/<your-username>/mostlyai-qa.git cd mostlyai-qa
-
Install
uv
(if not installed already):curl -LsSf https://astral.sh/uv/install.sh | sh
For alternative installation methods, visit the uv installation guide.
-
Create a virtual environment and install dependencies:
uv sync --frozen --python=3.10 source .venv/bin/activate
-
Install pre-commit hooks:
pre-commit install
-
Ensure your local
main
branch is up to date:git checkout main git reset --hard origin/main git pull origin main
-
Create a new feature or bugfix branch:
git checkout -b my-feature-branch
-
Implement your changes.
-
Run tests and pre-commit hooks:
pytest pre-commit run
-
Commit your changes with a descriptive message:
git add . git commit -m "feat: add a clear description of your feature"
Follow the Conventional Commits format.
-
Push your changes:
git push origin my-feature-branch
-
Open a pull request on GitHub.