Skip to main content

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.

Release files for sqlfluff-templater-dataform 0.1.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlfluff-templater-dataform 0.1.15
File Size Uploaded
sqlfluff_templater_dataform-0.1.15.tar.gz 10.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlfluff-templater-dataform 0.1.15
File Interpreter ABI Platform
sqlfluff_templater_dataform-0.1.15-py3-none-any.whl Python 3 none any Details

Total release size: 21.4 kB

Release files / sqlfluff_templater_dataform-0.1.15.tar.gz

Download URL sqlfluff_templater_dataform-0.1.15.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9d38c22024fa1cd63ffc4fe3e9f39d55e271b2277a423b1f52ed69ee0fd17a0
BLAKE2b-256 checksum
How to use checksums
24b8b60377fced819890a9afd702f6d087fae591ae94751e7c7e479c2bb975a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / sqlfluff_templater_dataform-0.1.15-py3-none-any.whl

Download URL sqlfluff_templater_dataform-0.1.15-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1aede0249b6491d125be398be8381d4ab0be454623af11845828a22764f0e789
BLAKE2b-256 checksum
How to use checksums
e8846548cbe3973a232b3c9db59c33fe40409e13fed00d15f4e5f6b757bfc642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

0.1.16

2 release files

This release

0.1.15 This release

2 release files

0.1.14

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page