--- title: Ruff sidebar_label: Ruff description: CodeRabbit's guide to Ruff. --- [Ruff](https://docs.astral.sh/ruff/) is a linter for Python. ## Files Ruff will run on files with the following extensions: - `.py` ## Configuration Ruff supports the following config files: - `pyproject.toml` - `ruff.toml` - `.ruff.toml` CodeRabbit will use the default settings based on the profile selected if no config file is found. ## Links - [Ruff Configuration](https://docs.astral.sh/ruff/configuration/)