Skip to main content
Run ruff (lint + format) on Python resources and formatting on YAML/JSON resources. Examples:
By default, applies fixes: ruff check --fix and ruff format for Python, and in-process formatting for YAML and JSON. Use --check to only verify without writing changes. Use --ty to also run type checking (via ty) after formatting. --json output shape:
See also poly push --format to run formatting automatically as part of a push, and poly validate to check project configuration.
Last modified on November 27, 2026