mirror of
https://github.com/dbt-labs/dbt-project-evaluator.git
synced 2025-12-18 02:11:27 +00:00
Update docs/customization/excluding-packages-and-paths.md
This commit is contained in:
@@ -39,7 +39,7 @@ vars:
|
|||||||
|
|
||||||
```yaml title="dbt_project.yml"
|
```yaml title="dbt_project.yml"
|
||||||
vars:
|
vars:
|
||||||
exclude_paths_from_project: ["/models/legacy/"]
|
exclude_paths_from_project: ["models/legacy/"]
|
||||||
```
|
```
|
||||||
|
|
||||||
### Example to exclude both a package and models/sources in 2 different paths
|
### Example to exclude both a package and models/sources in 2 different paths
|
||||||
@@ -47,7 +47,7 @@ vars:
|
|||||||
```yaml title="dbt_project.yml"
|
```yaml title="dbt_project.yml"
|
||||||
vars:
|
vars:
|
||||||
exclude_packages: ["upstream_package"]
|
exclude_packages: ["upstream_package"]
|
||||||
exclude_paths_from_project: ["/models/legacy/", "/my_date_spine.sql"]
|
exclude_paths_from_project: ["models/legacy/", "/my_date_spine.sql"]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tips and tricks
|
## Tips and tricks
|
||||||
|
|||||||
Reference in New Issue
Block a user