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.16

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.16
File Size Uploaded
sqlfluff_templater_dataform-0.1.16.tar.gz 10.8 kB Details

Built distribution (wheel)

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

Total release size: 21.4 kB

Release files / sqlfluff_templater_dataform-0.1.16.tar.gz

Download URL sqlfluff_templater_dataform-0.1.16.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e9ae28172ccaca3e1f15ecfcba9240162c7c2acc1997b5e2a81daf0320d34e5b
BLAKE2b-256 checksum
How to use checksums
b0288b04e180873fc13fc08b47c36286d75a4e90f83fedef2a2f8a15633f0fe6
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.16-py3-none-any.whl

Download URL sqlfluff_templater_dataform-0.1.16-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c3a7e712171fba4c680bd0c5b39d88102def18f6ed56be7ec0c665628b9ffc3
BLAKE2b-256 checksum
How to use checksums
911c246bd57d1f59497a828246bf50571b2e79e7e75ac4c15f4c15ec621b2cbd
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

This release

0.1.16 This release

2 release files

0.1.15

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