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
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.