Skip to main content

SQLFluff

Pro Plan Feature

This feature is available exclusively as part of the Pro plan and is not included in the Lite plan. Please refer to our pricing page for more information about our plans and features.

SQLFluff is a SQL linter and auto-formatter for standardizing SQL code.

Files

SQLFluff will run on files with the following extensions:

  • .sql

Configuration

SQLFluff supports the following config files:

  • User-defined config file set at reviews.tools.sqlfluff.config_file in your project's .coderabbit.yaml file or setting the "Review → Tools → SQLFluff → Config File" field in CodeRabbit's settings page.
  • setup.cfg
  • tox.ini
  • pep8.ini
  • .sqlfluff
  • pyproject.toml
note

CodeRabbit will only run SQLFluff if your repository contains a SQLFluff config file. This config must use one of the default file names listed above, or you must define the path to this file in the .coderabbit.yaml or config UI.