ruff_check
Checks files or directories for code quality issues using Ruff linting, with configurable rule selection and ignore patterns.
Instructions
Run Ruff linting on files or directories
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to file or directory to check | |
| format | No | Output format (json, text, etc.) | json |
| ignore | No | Rules to ignore (e.g., ['E203', 'W503']). Overrides config file. | |
| select | No | Rules to enable (e.g., ['E4', 'W', 'F']). Overrides config file. | |
| config_path | No | Path to Ruff configuration file. If not provided, Ruff will auto-discover config files (pyproject.toml, ruff.toml) in the project directory. |