sqlfluff/sqlfluff
A modular SQL linter and auto-formatter with support for multiple dialects and templated code. observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 21.5
- age_days: 2862
- days_rel: 26
- days_push: 8
- n_releases_24m: 23
Adoption not part of the score
9860 stars · 1118 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SQLFluff is a dialect-flexible, configurable SQL linter and auto-formatter for Python. It supports many SQL dialects (BigQuery, Snowflake, Postgres, etc.), Jinja templating and dbt, and can auto-fix most linting errors.
Use cases
- lint sql files for style and syntax errors
- auto-format sql queries consistently across a team
- lint dbt models with jinja templating
- enforce sql style rules in ci pipelines
- check sql syntax for a specific dialect like snowflake or bigquery without a database
- fix sql indentation and keyword casing automatically
When to choose
- you need a configurable SQL linter supporting many dialects and templated code
- your team wants automated SQL formatting and style enforcement in CI
- you work with dbt or Jinja-templated SQL in ELT workflows
When to avoid
- you need a full SQL parser or query engine rather than a linter
- you need runtime SQL validation against a live database
- your SQL dialect is unsupported or heavily non-standard
Facets
cli-tool · maturity stable
linter formatter parser cli developer-tools databases python cli cross-platform sql sql-linter sql-formatter dbt jinja-templating sql-dialects auto-fix elt data-engineering command-line docker
4 sources
- readme: https://github.com/sqlfluff/sqlfluff · fetched 2026-08-28 · bb200052bff3
- homepage: https://www.sqlfluff.com · fetched 2026-08-29 · 6daa0c40bdc5
- site_page: https://docs.sqlfluff.com · fetched 2026-08-29 · 20bcf27f4a3a
- registry_pypi: https://pypi.org/pypi/sqlfluff/json · fetched 2026-08-29 · 4adfb6508157
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sqlfluff/sqlfluff | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="sqlfluff/sqlfluff")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem