Skip to content
@sqlfluff

SQLFluff

SQL Linting and Auto-formatting for Humans

SQLFluff

The SQL Linter for Humans

ReadTheDocs

SQLFluff is a dialect-flexible and configurable SQL linter. Designed with ELT applications in mind, SQLFluff also works with Jinja templating and dbt. SQLFluff will auto-fix most linting errors, allowing you to focus your time on what matters.

PyPi Version PyPi License PyPi Python Versions PyPi Status PyPi Downloads

The core python library sqlfluff is the cornerstone of the SQLFluff family. This is the project which is published on pypi as sqlfluff.

If you're looking for somewhere to get started with SQLFluff, particularly in a CLI or CI/CD context, this is almost certainly the place to start.

PyPi Version PyPi License PyPi Python Versions PyPi Status PyPi Downloads

If you're using SQLFluff within the context of a dbt project you might also be looking for to install along side the core SQLFluff library above. This is the project which is published on pypi as sqlfluff.

This is a plugin for SQLFluff and allows the dbt templater to be selected. Currently, this plugin is maintained within the same git repository as the main SQLFluff project because of fairly tight coupling between the two.

If you're developing SQL code within VSCode as your IDE, you may find our maintained VSCode extension helpful. This project is published on OpenVSX as vscode-sqlfluff or on the Visual Studio Marketplace as dorzey.vscode-sqlfluff.

Many users deploying SQFluff within a CI/CD context do so on the Github Actions platform. For those users we provide a few templates of how some organisations have done the same. These are provided as templates and examples. We recommend that you personalise them to your own use case as applicable.

Documentation

For full documentation visit docs.sqlfluff.com. This documentation is generated from the core SQLFluff repository, so to any issues or contributions should be focussed there.

SQLFluff on Slack

We have a fast-growing community on Slack, come and join us!

SQLFluff on Twitter

Follow us on Twitter @SQLFluff for announcements and other related posts.

Contributing

We are grateful to all our contributors. There is a lot to do in this project, and we are just getting started.

If you want to understand more about the architecture of SQLFluff, you can find more here.

If you would like to contribute, check out the open issues on GitHub. You can also see the guide to contributing.

Pinned Loading

  1. sqlfluff sqlfluff Public

    A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

    Python 7.4k 673

  2. vscode-sqlfluff vscode-sqlfluff Public

    An extension to use the sqlfluff linter in vscode.

    TypeScript 144 34

  3. sqlfluff-github-actions sqlfluff-github-actions Public

    The official resource for SQLFluff related GitHub Actions

    93 37

Repositories

Showing 6 of 6 repositories
  • sqlfluff Public

    A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

    sqlfluff/sqlfluff’s past year of commit activity
  • sqlfluff-online Public

    An online SQL formatter, via SQLFluff.

    sqlfluff/sqlfluff-online’s past year of commit activity
    Python 30 12 2 1 Updated Jul 22, 2024
  • vscode-sqlfluff Public

    An extension to use the sqlfluff linter in vscode.

    sqlfluff/vscode-sqlfluff’s past year of commit activity
    TypeScript 144 MIT 34 32 1 Updated Jul 19, 2024
  • sqlfluff.com Public

    Website for sqlfluff.com

    sqlfluff/sqlfluff.com’s past year of commit activity
    HTML 0 MIT 0 0 0 Updated Jun 15, 2024
  • sqlfluff-github-actions Public

    The official resource for SQLFluff related GitHub Actions

    sqlfluff/sqlfluff-github-actions’s past year of commit activity
    93 MIT 37 3 3 Updated May 22, 2024
  • .github Public

    SQLFluff Organization README

    sqlfluff/.github’s past year of commit activity
    0 0 0 0 Updated Jul 18, 2023

Sponsors

  • @shaunavalon
  • @datacoves

Most used topics

Loading…