# Development Guide Contributing to GGUF tools requires understanding quantisation workflows and Python's modern dependency ecosystem. This guide covers setup, standards, and architectural decisions for fixing bugs, adding quantisation profiles, or extending conversion capabilities. ## Code Quality Ruff replaces the traditional Black/isort/flake8 stack as both linter and formatter. Mypy provides static type checking to catch type-related bugs before runtime. Zero tolerance for linting and type errors catches issues early. Both tools have extensive configuration in `pyproject.toml` to enforce only the important code quality standards we've selected. Debug logging reveals quantisation internals when models fail. ```bash # Run linting - catches style violations, potential bugs, and code smells uvx ruff check # Format code - enforces consistent style automatically uvx ruff format # Run type checking - ensures type safety and catches potential bugs uv run mypy . # Run with debug logging - reveals conversion steps and tensor processing DEBUG=true uv run