dltlint
Lint Databricks Lakeflow (DLT) Declrative pipeline YAML/JSON configuration files.
Why
The Asset Bundle validate does not check actual configuration values inside pipeline definitions. This library fills that gap and provides clear actionable errors and warning messages.
Installation
pip install dltlint
Usage CLI
# Lint current repo recursively
dltlint
# JSON output for tooling
dltlint --format json
# Fail build on warnings or worse
dltlint --fail-on warning
# Print a success message when clean (otherwise silent on success)
dltlint --ok
Exit codes
- 0 → clean OR no matching files
- 1 → findings at/above threshold (--fail-on)
- 2 → fatal error (e.g., unreadable file)
dltlint discovers:
- *.pipeline.yml,
- *.pipeline.yaml
- *.pipeline.yml.resources,
- *.pipeline.yaml.resources
Pre-commit
Add to your repo’s .pre-commit-config.yaml:
repos:
- repo: https://github.com/dan1elt0m/dltlint
rev: v0.3.4
hooks:
- id: dltlint
Config (pyproject.toml)
[tool.dltlint]
fail_on = "warning" # default: "error"
ignore = ["DLT010", "DLT400"] # suppress specific rules
require = ["catalog", "schema"] # fields that must be present
inline_disable_token = "dltlint: disable" # comment token (see below)
[tool.dltlint.severity_overrides]
DLT400 = "info"
Inline suppressions
Add a comment anywhere in a file to suppress rules for that file:
# dltlint: disable=DLT010,DLT400
resources:
pipelines:
my_pipe:
name: n
catalog: c
schema: s
Line-scoped suppressions require YAML line tracking and are not supported yet.
Metadata
Release files for dltlint 0.3.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dltlint-0.3.9.tar.gz | 11.2 kB | With provenance | Details for dltlint-0.3.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dltlint-0.3.9-py3-none-any.whl | Python 3 | none | any | Details for dltlint-0.3.9-py3-none-any.whl |
Total release size: 24.3 kB
Release files / dltlint-0.3.9.tar.gz
| Download URL | dltlint-0.3.9.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8fb6d4643301ce1d38aa0453dba13ffafb6edb96fdd9f53aed52b7c38a03720
|
|
BLAKE2b-256 checksum How to use checksums |
8c30c76acbec4fc613a6813c0359d54187a22de4902ff14ade91653e844bcc1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 9, 2026.
Transparency logRelease files / dltlint-0.3.9-py3-none-any.whl
| Download URL | dltlint-0.3.9-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df017c81311110513ac91f6b7ace42bf4a7ce0cd8e06a53d5c66cbcffbce4402
|
|
BLAKE2b-256 checksum How to use checksums |
cd887ddc8d2aa87581ec5e18236e8628f59a8035b83cf983da4cf85aa01e0b06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 9, 2026.
Transparency logSecurity for dltlint 0.3.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for dltlint-0.3.9.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.