-
Clone the repository:
git clone https://github.com/ML4GW/my-package cd my-package -
Install with development dependencies using uv:
uv sync --group dev
-
Install pre-commit hooks:
uv run prek install
uv run pytestRun all pre-commit hooks manually:
uvx prek run --all-filesOr run ruff directly:
uv run ruff check --fix .
uv run ruff format .uv run ty check src/uv sync --group docs
uv run sphinx-build -b html docs docs/_build/html- Open a PR against
mainwith a clear description of the change - Ensure CI passes before requesting review