Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.46 KB

File metadata and controls

65 lines (45 loc) · 1.46 KB

Contributing to Valentine

Thank you for your interest in contributing! This document explains how to get involved, whether you're fixing a bug, adding a feature, or improving the docs.

Getting started

  1. Fork the repository and clone your fork.

  2. Create a virtual environment and install in editable mode with all dev dependencies:

    pip install -e ".[dev]"
  3. Create a branch for your change:

    git checkout -b my-feature

Running the tests

pytest

Run with coverage:

pytest --cov=valentine --cov-report=term-missing

Code style

Valentine uses Ruff for linting and formatting. Before opening a pull request, make sure your code passes:

ruff check .
ruff format --check .

You can auto-fix most issues with:

ruff check --fix .
ruff format .

Opening a pull request

  • Keep each PR focused on a single concern.
  • Add or update tests for any behaviour change.
  • Update the relevant documentation pages in docs/ if needed.
  • Reference any related issue in the PR description.

The CI pipeline will run tests on all supported Python versions (3.10–3.14) across Linux, macOS, and Windows. PRs must pass CI before merging.

Reporting bugs and requesting features

Please use GitHub Issues. Include a minimal reproducible example for bug reports and a clear motivation for feature requests.