Skip to content

Latest commit

ย 

History

History
50 lines (32 loc) ยท 1.26 KB

File metadata and controls

50 lines (32 loc) ยท 1.26 KB

Contributing to Python Cookiecutter Template

Thank you for your interest in contributing! This document provides guidelines for setting up your local development environment and submitting changes to the template itself.

๐Ÿ› ๏ธ Development Setup

We use uv for dependency management and pre-commit for code quality checks.

1. Prerequisites

  • Python 3.13+
  • uv installed on your system.

2. Initial Setup

Clone the repository and sync the dependencies:

uv sync

3. Pre-commit Hooks

We use pre-commit to ensure code quality (Ruff, mdformat, etc.) is consistent before any code is committed.

Installation:

uv run pre-commit install

Running Manually: If you want to check all files without committing:

uv run pre-commit run --all-files

๐Ÿ“œ Standards & Conventions

  • Branching: Use descriptive branch names.
  • Commits: Follow Conventional Commits (e.g., feat:, fix:, docs:).
  • Code Style: We use Ruff for formatting and linting.

๐Ÿš€ Submitting Changes

  1. Create a new branch.
  2. Make your changes to the template files or the boilerplate.
  3. Ensure all pre-commit checks are green.
  4. Submit a Pull Request.