Commit 22b9acb
committed
Remove all dbt dependencies from metricflow test environments
We no longer use dbt at all inside of Metricflow prpoer, so
this removes all dependencies.
The main changes of interest involve the updates to the pre-commit
configuration. The original config was not package-specific since
all critical dependencies were available from the metricflow
environment, so we could run linters without any custom installations.
Now that metricflow has no dbt dependency in its dev environment,
mypy will no longer typecheck correctly via pre-commit in the
dbt-metricflow package. Since mypy is the only affected item we work
around this by invoking it from the makefile for dbt-metricflow,
and otherwise excluding dbt-metricflow from the pre-commit execution.1 parent 648f98f commit 22b9acb
File tree
25 files changed
+26
-487
lines changed- .changes/unreleased
- requirements-files
- tests_metricflow
- fixtures
- dbt_projects/metricflow_testing
- analyses
- macros
- models/example
- seeds
- snapshots
- tests
- sql_clients
25 files changed
+26
-487
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | 109 | | |
111 | | - | |
112 | | - | |
113 | | - | |
| 110 | + | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | | - | |
| 114 | + | |
118 | 115 | | |
119 | 116 | | |
120 | | - | |
121 | 117 | | |
122 | 118 | | |
123 | 119 | | |
| |||
129 | 125 | | |
130 | 126 | | |
131 | 127 | | |
132 | | - | |
133 | | - | |
| 128 | + | |
134 | 129 | | |
135 | 130 | | |
136 | 131 | | |
137 | 132 | | |
138 | 133 | | |
139 | 134 | | |
140 | 135 | | |
141 | | - | |
142 | | - | |
| 136 | + | |
143 | 137 | | |
144 | 138 | | |
145 | 139 | | |
| |||
149 | 143 | | |
150 | 144 | | |
151 | 145 | | |
152 | | - | |
153 | | - | |
| 146 | + | |
154 | 147 | | |
155 | 148 | | |
156 | 149 | | |
157 | 150 | | |
158 | 151 | | |
159 | | - | |
160 | 152 | | |
161 | 153 | | |
162 | 154 | | |
163 | | - | |
164 | | - | |
| 155 | + | |
165 | 156 | | |
166 | 157 | | |
167 | 158 | | |
| |||
170 | 161 | | |
171 | 162 | | |
172 | 163 | | |
173 | | - | |
174 | | - | |
| 164 | + | |
175 | 165 | | |
176 | 166 | | |
177 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
This file was deleted.
0 commit comments