format_code
Format Python code in a file or directory with an ephemeral Ruff installation, avoiding the need to set up a formatter.
Instructions
Format Python code with an ephemeral Ruff installation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File or directory to format. Defaults to the current directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |