dbtective 0.1.28__py3-none-win_amd64.whl → 0.1.30__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.
- dbtective-0.1.30.data/scripts/dbtective.exe +0 -0
- {dbtective-0.1.28.dist-info → dbtective-0.1.30.dist-info}/METADATA +12 -12
- dbtective-0.1.30.dist-info/RECORD +5 -0
- dbtective-0.1.28.data/scripts/dbtective.exe +0 -0
- dbtective-0.1.28.dist-info/RECORD +0 -5
- {dbtective-0.1.28.dist-info → dbtective-0.1.30.dist-info}/WHEEL +0 -0
- {dbtective-0.1.28.dist-info → dbtective-0.1.30.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dbtective
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.30
|
|
4
4
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
5
5
|
Classifier: Environment :: Console
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -30,7 +30,7 @@ Explore the [full documentation](https://feliblo.github.io/dbtective/docs) or th
|
|
|
30
30
|
|
|
31
31
|
> [!WARNING]
|
|
32
32
|
> dbtective is currently in very early stages.
|
|
33
|
-
> Issues and commits are
|
|
33
|
+
> Issues and commits are more than welcome!
|
|
34
34
|
|
|
35
35
|
**dbtective** makes it easy to spot and fix common issues, examples:
|
|
36
36
|
|
|
@@ -75,10 +75,10 @@ brew install feliblo/tap/dbtective
|
|
|
75
75
|
<details>
|
|
76
76
|
<summary>GitHub Actions</summary>
|
|
77
77
|
|
|
78
|
-
Run dbtective as part of your CI/CD pipeline. See the [GitHub Actions documentation](https://feliblo.github.io/dbtective/docs/github-actions) for more details.
|
|
78
|
+
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
79
|
|
|
80
80
|
```yaml
|
|
81
|
-
- uses: feliblo/dbtective@v0.1.
|
|
81
|
+
- uses: feliblo/dbtective@v0.1.29
|
|
82
82
|
with:
|
|
83
83
|
config-file: "dbtective.yml"
|
|
84
84
|
entry-point: "."
|
|
@@ -93,14 +93,14 @@ Run dbtective as part of your CI/CD pipeline. See the [GitHub Actions documentat
|
|
|
93
93
|
|
|
94
94
|
Prerequisite: `dbtective` is installed via one of the methods above.
|
|
95
95
|
|
|
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/).
|
|
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).
|
|
97
97
|
|
|
98
98
|
Add the following to your `.pre-commit-config.yaml`.
|
|
99
99
|
|
|
100
100
|
```yaml
|
|
101
101
|
repos:
|
|
102
102
|
- repo: https://github.com/feliblo/dbtective
|
|
103
|
-
rev: v0.1.
|
|
103
|
+
rev: v0.1.29
|
|
104
104
|
hooks:
|
|
105
105
|
- id: dbtective-run
|
|
106
106
|
args: [--only-manifest]
|
|
@@ -145,11 +145,11 @@ Pre-built binaries for Linux, macOS, and Windows are available on the [releases
|
|
|
145
145
|
|
|
146
146
|
## Quickstart
|
|
147
147
|
|
|
148
|
-
All possible rules can be found in the [rules documentation](https://feliblo.github.io/dbtective/docs/). Information about customizing `dbtective` is shown at the [config documentation](https://feliblo.github.io/dbtective/docs/config)
|
|
148
|
+
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
149
|
|
|
150
150
|
1. Create a `dbtective.yml` config file in the root of your dbt project by running:
|
|
151
151
|
|
|
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/cli#dbtective-init).
|
|
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).
|
|
153
153
|
|
|
154
154
|
```bash
|
|
155
155
|
dbtective init
|
|
@@ -157,23 +157,23 @@ dbtective init
|
|
|
157
157
|
|
|
158
158
|
Inspect the contents of the generated `dbtective.yml` file and modify it to fit your project's needs.
|
|
159
159
|
|
|
160
|
-
|
|
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:
|
|
161
161
|
|
|
162
162
|
```bash
|
|
163
163
|
dbt compile
|
|
164
164
|
dbt docs generate
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
|
|
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.
|
|
168
168
|
|
|
169
169
|
```bash
|
|
170
170
|
dbtective run
|
|
171
171
|
dbtective run --entry-point "my_dbt_project"
|
|
172
172
|
```
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
1. Review the output and fix any issues found.
|
|
175
175
|
|
|
176
|
-
|
|
176
|
+
2. (Optional) Integrate `dbtective` into your CI/CD pipeline or pre-commit hooks to automate rules on every commit and/or pull request.
|
|
177
177
|
|
|
178
178
|
## Contributing
|
|
179
179
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
dbtective-0.1.30.data/scripts/dbtective.exe,sha256=J2pLTyZ77eTbmHxnBgCxX_xmdDhYw_H2TfY_bYVvwrw,4926976
|
|
2
|
+
dbtective-0.1.30.dist-info/METADATA,sha256=kVSxtjDrJZ_jVegTfXzXScjkA3FhufrABFxSmv1l34I,6165
|
|
3
|
+
dbtective-0.1.30.dist-info/WHEEL,sha256=14-pPWiwFoCAtTgD4hWnxHSfZQqe6Zt0DfwcROvwlzs,94
|
|
4
|
+
dbtective-0.1.30.dist-info/licenses/LICENSE,sha256=l6L0uB6P0NYfB1uZ_2lUNbryleAeanq49Fz1D7MlG7I,1088
|
|
5
|
+
dbtective-0.1.30.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
dbtective-0.1.28.data/scripts/dbtective.exe,sha256=kMp8hmLFV_4FYNa-HY1mxF8dhjL3tZvKK0uZmNzIS4c,4876800
|
|
2
|
-
dbtective-0.1.28.dist-info/METADATA,sha256=DjhO3NKIowm3ZQrOnYKFbWQjBflcQHiFrqXJTe5uqz8,6155
|
|
3
|
-
dbtective-0.1.28.dist-info/WHEEL,sha256=14-pPWiwFoCAtTgD4hWnxHSfZQqe6Zt0DfwcROvwlzs,94
|
|
4
|
-
dbtective-0.1.28.dist-info/licenses/LICENSE,sha256=l6L0uB6P0NYfB1uZ_2lUNbryleAeanq49Fz1D7MlG7I,1088
|
|
5
|
-
dbtective-0.1.28.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|