Thank you for your interest in contributing to LuhnCheck! We welcome all types of contributions, from questions to code changes.
# 1. Fork the repository on GitHub
# 2. Clone your fork locally
git clone https://github.com/YOUR_USERNAME/luhncheck.git
cd luhncheck
# 3. Set up development environment
uv sync
# 4. Run tests to make sure everything works
uv run pytest --cov- Check Issues for existing reports
- Create a new issue with:
- Version number
- Steps to reproduce
- Expected vs actual behavior
- Your operating system
- Prerequisites: Install uv
- Setup: Fork the repo and run
uv syncto install dependencies - Before committing: Run these commands to ensure your changes pass all checks:
uv run ruff format # Format code uv run ruff check --fix # Fix linting issues uv run mypy # Check types uv run pytest --cov # Run tests with coverage
- Submit: Push to your fork and create a pull request
# Setup
uv sync # Install dependencies
# Code quality
uv run ruff format # Format code
uv run ruff check --fix # Fix linting issues
uv run mypy # Type checking
# Testing
uv run pytest # Run all tests
uv run pytest --cov # Run tests with coverage report
# Build
uv build # Build distribution packagesAdd ## Unreleased section to CHANGELOG.md when there are unreleased changes. The release script replaces it with the version number.
To update all development dependencies to their latest versions:
uv sync --upgradeTo create a new release, ensure you're on the main branch with all changes committed and synced with the remote:
bash release.sh <major|minor|patch>- Review the GitHub documentation on forking and pull requests
- Check existing issues
We appreciate your contribution! 🎉