SQLFluff SQL Linter 和 Auto-Formatter
Lint and auto-format SQL code across 30+ dialects using SQLFluff. Enforces consistent style, catches syntax issues, and supports Jinja/dbt templating for ELT workflows.
Installation
Use the upstream install or setup path that matches your environment:
- $ pip install sqlfluff
- $ pip install sqlfluff[rs]
Requirements and caveats from upstream:
-
-
- Python format strings
Basic usage or getting-started notes:
- Getting Started
- To get started, install the package and run sqlfluff lint or sqlfluff fix.
- shell
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/sqlfluff/sqlfluff/HEAD/README.md