Skip to content

gz format

Auto-format Python code using Ruff.

Usage

Bash
gz format [OPTIONS]

Description

Applies automatic code formatting to all Python files using Ruff's formatter. Enforces consistent style across the codebase including indentation, line length, and quote style.

Exit Codes

Code Meaning
0 Formatting applied successfully
1 Formatting check failed