TiloBox
Back to directory
SQLFluff project preview

SQLFluff

The modular SQL linter and auto-formatter for multi-dialect enterprise data teams.

LicenseMIT
GitHub stars8.5k
Last commit1 weeks ago
Tags5 topics
Sqlfluff CliSql Linter FormatterDeveloper ToolsSnowflake Bigquery LinterDbt Sql Linter
Overview

Why consider SQLFluff?

SQLFluff is an open-source, dialect-flexible SQL linter and automatic code formatter written in Python by Alan Cruickshank. SQLFluff parses and formats ANSI SQL, Postgres, Snowflake, BigQuery, ClickHouse, and dbt Jinja templates according to corporate code quality standards.

Guided learning

Learn SQLFluff by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
In this guide2 sections

Overview of SQLFluff

SQLFluff enforces consistent SQL styling and catches syntax bugs in automated CI/CD pipelines.

Quickstart

bash
1pip install sqlfluff
2sqlfluff lint queries/ --dialect postgres
3sqlfluff fix queries/ --dialect postgres

SQLFluff is licensed under the permissive MIT License.

Related tools

More options with a similar category or technology profile.

SQLFluff FAQs

SQLFluff is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

SQLFluff is listed under the MIT license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

SQLFluff is listed as an alternative to SonarQube SQL. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.