From 8713ec851f1702ffac576fdaac2f865bd74fa9dc Mon Sep 17 00:00:00 2001 From: Benoit Perigaud <8754100+b-per@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:58:26 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=93=9D=20Remove=20!=20that=20confused?= =?UTF-8?q?=20some=20people?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 5bf4fc46..457aa48b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -50,7 +50,7 @@ This package will: 2. Create another series of models that each represent one type of misalignment in your project (below you can find a full list of each misalignment and its accompanying model) 3. Test those models to alert you to the presence of the misalignment -Once you've installed the package, all you have to do is run a `dbt build --select package:dbt_project_evaluator`! +Once you've installed the package, all you have to do is run a `dbt build --select package:dbt_project_evaluator` Each test warning indicates the presence of a type of misalignment. To troubleshoot a misalignment: From 3d3bb62801161f8f26ef8a495d9b725f307f20a9 Mon Sep 17 00:00:00 2001 From: Benoit Perigaud <8754100+b-per@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:58:49 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=93=9D=20Remove=20version=20as=20it?= =?UTF-8?q?=20is=20not=20used=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/rules/modeling.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/rules/modeling.md b/docs/rules/modeling.md index 98ffa496..51deb1c0 100644 --- a/docs/rules/modeling.md +++ b/docs/rules/modeling.md @@ -418,8 +418,6 @@ to the unused source. Within the YML file, remove the unused table name, along w or any other nested information. ```yaml title="sources.yml" - version: 2 - sources: - name: some_source database: raw From c8106bf59d25473931a5f759d4c65608c276d07d Mon Sep 17 00:00:00 2001 From: Benoit Perigaud <8754100+b-per@users.noreply.github.com> Date: Thu, 22 Feb 2024 08:59:10 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=93=9D=20Fix=20indentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/ci-check.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ci-check.md b/docs/ci-check.md index 2169bd4f..64e37cc2 100644 --- a/docs/ci-check.md +++ b/docs/ci-check.md @@ -15,7 +15,7 @@ By default the tests in this package are configured with "warn" severity, we can ```yaml title="dbt_project.yml" tests: - dbt_project_evaluator: + dbt_project_evaluator: +severity: "{{ env_var('DBT_PROJECT_EVALUATOR_SEVERITY', 'warn') }}" ``` @@ -25,7 +25,7 @@ By default the tests in this package are configured with "warn" severity, we can ```yaml title="dbt_project.yml" models: - dbt_project_evaluator: + dbt_project_evaluator: +enabled: "{{ env_var('ENABLE_DBT_PROJECT_EVALUATOR', 'true') | lower == 'true' | as_bool }}" ```