ruff-format
Format Python code using RUFF's fast formatter to ensure consistent syntax and style.
Instructions
Format Python code using RUFF's fast formatter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code to format | |
| config_path | No | Optional path to RUFF configuration file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formatted_code | Yes | The formatted Python code | |
| changed | Yes | Whether the code was modified during formatting |