Lint your dataform project SQL
Project description
Dataform plugin for SQLFluff
This project is based on dbt plugin for SQLFluff and is licensed under the MIT License.
This plugin works with SQLFluff, the SQL linter for humans, to correctly parse and compile SQL projects using Dataform.
SQLFluff configuration
As dataform uses mainly '.sqlx' files you will need to set the '.sqlfluff' as below:
[sqlfluff]
templater = dataform
dialect = bigquery
sql_file_exts = .sql,.sqlx
Development
With mise installed, run mise install from the repo
root once to provision Python, uv, and a .venv directory. The first
install fires a postinstall hook that runs mise run sync, which installs
the test dependencies into the venv. After that:
mise run test # run the test suite
mise run sync # re-install deps after pulling changes to requirements.txt
pytest test/ # or invoke pytest directly (the venv is auto-activated)
The compose.yml / Dockerfile.dev setup remains for those who prefer it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sqlfluff_templater_dataform-0.1.14.tar.gz.
File metadata
- Download URL: sqlfluff_templater_dataform-0.1.14.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3f2012c23cc085275ca4063fc0c8aede92d0f126ef47db09cba70740b152f89
|
|
| MD5 |
dfb644f66e382827159a24147c1db641
|
|
| BLAKE2b-256 |
95efcf6214c69707be3040c97dc11234f79578f28548785b4a8ab92cfa249905
|
File details
Details for the file sqlfluff_templater_dataform-0.1.14-py3-none-any.whl.
File metadata
- Download URL: sqlfluff_templater_dataform-0.1.14-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dd7a65e62514237c68b3e2d4abc628162a9fbd4040f3167d987f66e03f75f39
|
|
| MD5 |
286eb95ff1769abe53892bf16e834aa4
|
|
| BLAKE2b-256 |
087c82ce7f26ac0610dce15283311f9da09e6a0475f030331d7d3d327c863b80
|