Configure and enforce conventions for your dbt project.
Project description
dbt-bouncer
Configure and enforce conventions for your dbt project.
Documentation
All documentation can be found on dbt-bouncer
documentation website.
TLDR
-
Install
dbt-bouncer
:pip install dbt-bouncer
-
Create a
dbt-bouncer.yml
config file:manifest_checks: - name: check_model_directories include: ^models permitted_sub_directories: - intermediate - marts - staging - name: check_model_names include: ^models/staging model_name_pattern: ^stg_ catalog_checks: - name: check_columns_are_documented_in_public_models run_results_checks: - name: check_run_results_max_execution_time max_execution_time_seconds: 60
-
Run
dbt-bouncer
:$ dbt-bouncer [...] Running checks... |################################| 20/20 Done. SUCCESS=19 WARN=0 ERROR=1 Failed checks: | Check name | Severity | Failure message | |--------------------------|----------|---------------------------------------------------------------------------------------| | check_model_directories: | error | AssertionError: `model` is located in `utilities`, this is not a valid sub-directory. |
Reporting bugs and contributing code
- Want to report a bug or request a feature? Let us know and open an issue.
- Want to help us build
dbt-bouncer
? Check out the Contributing Guide.
Code of Conduct
Everyone interacting in dbt-bouncer
's codebase, issue trackers, chat rooms, and mailing lists is expected to follow the Code of Conduct.
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
dbt_bouncer-1.1.2.tar.gz
(29.5 kB
view hashes)
Built Distribution
Close
Hashes for dbt_bouncer-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e5d0a89b8b385f13106b8b62e0010b7818ab3ea70259d33aa64bae1952e5421 |
|
MD5 | c9e208621a66e8c4c32dd2d61db6d28a |
|
BLAKE2b-256 | 09261e1bee00c84cefb6c09e4204f5f60da8d6c724c6e84e2d2d7f0892e7a85a |