Ruff is a linter for Python or Jupiter Notebooks.

Files

Ruff will run on files with the following extensions:
  • .py
  • .ipynb (using nbqa)

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.