dbtective 0.1.31__py3-none-win_amd64.whl → 0.1.33__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbtective
3
- Version: 0.1.31
3
+ Version: 0.1.33
4
4
  Classifier: Development Status :: 2 - Pre-Alpha
5
5
  Classifier: Environment :: Console
6
6
  Classifier: Intended Audience :: Developers
@@ -15,10 +15,10 @@ Home-Page: https://github.com/feliblo/dbtective
15
15
  Author-email: feliblo <hi@feliblo.dev>
16
16
  Requires-Python: >=3.8
17
17
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
18
- Project-URL: Repository, https://github.com/feliblo/dbtective
19
18
  Project-URL: Changelog, https://github.com/feliblo/dbtective/blob/master/CHANGELOG.md
20
- Project-URL: Releases, https://github.com/feliblo/dbtective/releases
21
19
  Project-URL: Homepage, https://feliblo.github.io/dbtective/
20
+ Project-URL: Releases, https://github.com/feliblo/dbtective/releases
21
+ Project-URL: Repository, https://github.com/feliblo/dbtective
22
22
 
23
23
  # 🕵️ dbtective
24
24
 
@@ -28,10 +28,6 @@ dbtective is a Rust-powered 'detective' for `dbt metadata` best practices. As yo
28
28
 
29
29
  Explore the [full documentation](https://feliblo.github.io/dbtective/docs) or the [possible rules](https://feliblo.github.io/dbtective/docs/rules).
30
30
 
31
- > [!WARNING]
32
- > dbtective is currently in very early stages.
33
- > Issues and commits are more than welcome!
34
-
35
31
  **dbtective** makes it easy to spot and fix common issues, examples:
36
32
 
37
33
  - **Missing descriptions:** Does every model and seed have a description?
@@ -78,7 +74,7 @@ brew install feliblo/tap/dbtective
78
74
  Run dbtective as part of your CI/CD pipeline. See the [GitHub Actions documentation](https://feliblo.github.io/dbtective/docs/running/github-actions) for more details.
79
75
 
80
76
  ```yaml
81
- - uses: feliblo/dbtective@v0.1.29
77
+ - uses: feliblo/dbtective@v0.1.33
82
78
  with:
83
79
  config-file: "dbtective.yml"
84
80
  entry-point: "."
@@ -93,20 +89,21 @@ Run dbtective as part of your CI/CD pipeline. See the [GitHub Actions documentat
93
89
 
94
90
  Prerequisite: `dbtective` is installed via one of the methods above.
95
91
 
96
- We (currently) recommend using the `--only-manifest` flag with prek/pre-commit to avoid issues caused by `catalog.json` mismatches. For more details, see the explanation in the [rules documentation](https://feliblo.github.io/dbtective/docs/rules).
92
+ We recommend using `--only-manifest` and `--hide-warnings` with prek/pre-commit to avoid issues caused by `catalog.json` mismatches.See the [pre-commit documentation](https://feliblo.github.io/dbtective/docs/running/precommit).
97
93
 
98
- Add the following to your `.pre-commit-config.yaml`.
94
+ Add the following to your `.pre-commit-config.yaml`:
99
95
 
100
96
  ```yaml
101
97
  repos:
102
98
  - repo: https://github.com/feliblo/dbtective
103
- rev: v0.1.29
99
+ rev: v0.1.33
104
100
  hooks:
105
101
  - id: dbtective-run
106
- args: [--only-manifest]
102
+ entry: dbtective run
103
+ args: [--only-manifest, --hide-warnings]
107
104
  ```
108
105
 
109
- And run
106
+ And run:
110
107
 
111
108
  ```bash
112
109
  prek install
@@ -114,7 +111,6 @@ prek run --all-files
114
111
  # or with pre-commit
115
112
  pre-commit install
116
113
  pre-commit run --all-files
117
-
118
114
  ```
119
115
 
120
116
  </details>
@@ -147,33 +143,31 @@ Pre-built binaries for Linux, macOS, and Windows are available on the [releases
147
143
 
148
144
  All possible rules can be found in the [rules documentation](https://feliblo.github.io/dbtective/docs/rules). Information about customizing `dbtective` is shown at the [config documentation](https://feliblo.github.io/dbtective/docs/config)
149
145
 
150
- 1. Create a `dbtective.yml` config file in the root of your dbt project by running:
146
+ 1. Generate your config file by answering a few simple questions:
151
147
 
152
- More about the `init` (it also supports `pyproject.toml` or `dbtective.toml`) command is available in the [init documentation](https://feliblo.github.io/dbtective/docs/running/cli#dbtective-init).
148
+ ```bash
149
+ dbtective init
150
+ ```
153
151
 
154
- ```bash
155
- dbtective init
156
- ```
157
-
158
- Inspect the contents of the generated `dbtective.yml` file and modify it to fit your project's needs.
152
+ This walks you through picking a config format, and which rules to enable. It then generates a config you can start with. See the [CLI reference](https://feliblo.github.io/dbtective/docs/running/cli#init) for details.
159
153
 
160
- 1. (Optional) Generate the dbt manifest and catalog files if you haven't done so already. Most dbt commands automatically generate the `manifest.json`, but if you want to ensure both files are up to date, run:
154
+ 2. (Optional) Generate the dbt manifest and catalog files if you haven't done so already. Most dbt commands automatically generate the `manifest.json`, but if you want to ensure both files are up to date, run:
161
155
 
162
- ```bash
163
- dbt compile
164
- dbt docs generate
165
- ```
156
+ ```bash
157
+ dbt compile
158
+ dbt docs generate
159
+ ```
166
160
 
167
- 1. Run `dbtective` in the root of your current directory or specify an entry point if your dbt_project is not located in the root/current drectory.
161
+ 3. Run `dbtective` in the root of your current directory or specify an entry point if your dbt_project is not located in the root/current drectory.
168
162
 
169
- ```bash
170
- dbtective run
171
- dbtective run --entry-point "my_dbt_project"
172
- ```
163
+ ```bash
164
+ dbtective run
165
+ dbtective run --entry-point "my_dbt_project"
166
+ ```
173
167
 
174
- 1. Review the output and fix any issues found.
168
+ 4. Review the output and fix any issues found.
175
169
 
176
- 2. (Optional) Integrate `dbtective` into your CI/CD pipeline or pre-commit hooks to automate rules on every commit and/or pull request.
170
+ 5. (Optional) Integrate `dbtective` into your CI/CD pipeline or pre-commit hooks to automate rules on every commit and/or pull request.
177
171
 
178
172
  ## Contributing
179
173
 
@@ -181,7 +175,7 @@ We welcome contributions! Whether you're fixing bugs, adding features, or improv
181
175
 
182
176
  For detailed contributing guidelines, development setup, and coding standards, please see the [contributing documentation](https://feliblo.github.io/dbtective/docs/contributing).
183
177
 
184
- # Acknowledgements
178
+ ## Acknowledgements
185
179
 
186
- This project is heavily inspired dbt [dbt-bouncer](https://github.com/godatadriven/dbt-bouncer). It tries to improve certain aspects of the amazing work by [pgoslatara](https://github.com/pgoslatara), while giving me an opportunity to improve my Rust. More about the aspects we try to improve is available in our [FAQ](https://feliblo.github.io/dbtective/docs/faq).
180
+ This project is heavily inspired by [dbt-bouncer](https://github.com/godatadriven/dbt-bouncer). It tries to improve certain aspects of the amazing work by [pgoslatara](https://github.com/pgoslatara), while giving me an opportunity to improve my Rust. More about the aspects we try to improve is available in our [FAQ](https://feliblo.github.io/dbtective/docs/faq).
187
181
 
@@ -0,0 +1,5 @@
1
+ dbtective-0.1.33.data\scripts\dbtective.exe,sha256=ebNHJwRf2-SqW42sMEkela2GoyWBXZ4FnaM6pqkqxZs,5361152
2
+ dbtective-0.1.33.dist-info\METADATA,sha256=T8NBImgVeVrDk7heJIWUCcuoc_g_ygoXBHU8_62nUHg,6028
3
+ dbtective-0.1.33.dist-info\WHEEL,sha256=jsSEiVNsW1dJj5gDaReR40i7mhgBjWtms6nAD6EViXU,94
4
+ dbtective-0.1.33.dist-info\licenses\LICENSE,sha256=l6L0uB6P0NYfB1uZ_2lUNbryleAeanq49Fz1D7MlG7I,1088
5
+ dbtective-0.1.33.dist-info\RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.10.2)
2
+ Generator: maturin (1.11.5)
3
3
  Root-Is-Purelib: false
4
4
  Tag: py3-none-win_amd64
Binary file
@@ -1,5 +0,0 @@
1
- dbtective-0.1.31.data/scripts/dbtective.exe,sha256=c7zBNPBdqxM2B9qk5VgUUCV0qT1j9kujFd0DXiIdv_Q,4926464
2
- dbtective-0.1.31.dist-info/METADATA,sha256=1cvi1mAcgK0kLxosbNP97azVTGdHLuFn1A4HUn_ASwg,6165
3
- dbtective-0.1.31.dist-info/WHEEL,sha256=14-pPWiwFoCAtTgD4hWnxHSfZQqe6Zt0DfwcROvwlzs,94
4
- dbtective-0.1.31.dist-info/licenses/LICENSE,sha256=l6L0uB6P0NYfB1uZ_2lUNbryleAeanq49Fz1D7MlG7I,1088
5
- dbtective-0.1.31.dist-info/RECORD,,