Package-level reference for black on PyPI — install variants, version policy, the [d] and [jupyter] extras, and how it relates to ruff format.
Package-level reference for pre-commit on PyPI — install variants, hook-pinning model, and how it composes with ruff, black, and mypy.
Package-level reference for ruff on PyPI — install variants, fast-moving version policy, and how a single binary subsumes flake8, isort, pyupgrade, and black.
Run linters, formatters, and validators automatically on every git commit. Covers .pre-commit-config.yaml, essential hooks (ruff, mypy, check-yaml), autoupdate, and CI integration.
Format Python code consistently with black. Covers installation, configuration, editor integration, and how it compares to ruff format.
Lint and format Python code with ruff — a single Rust-powered tool that replaces flake8, isort, and black. Covers configuration, rule selection, and CI usage.
navigation
actions
cheat sheet pages