-
Notifications
You must be signed in to change notification settings - Fork 3k
/
Copy path.pre-commit-config.yaml
446 lines (384 loc) · 18.3 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
# Auto-generated by .github/scripts/generate_pre_commit.py at 2025-01-17 16:43:31 UTC
# Do not edit this file directly. Run the script to regenerate.
# Add additional hooks in .github/scripts/pre-commit-override.yaml
repos:
- repo: local
hooks:
- id: datahub-graphql-core-spotless
name: datahub-graphql-core Spotless Apply
entry: ./gradlew :datahub-graphql-core:spotlessApply
language: system
files: ^datahub-graphql-core/.*\.java$
pass_filenames: false
- id: datahub-upgrade-spotless
name: datahub-upgrade Spotless Apply
entry: ./gradlew :datahub-upgrade:spotlessApply
language: system
files: ^datahub-upgrade/.*\.java$
pass_filenames: false
- id: entity-registry-spotless
name: entity-registry Spotless Apply
entry: ./gradlew :entity-registry:spotlessApply
language: system
files: ^entity-registry/.*\.java$
pass_filenames: false
- id: ingestion-scheduler-spotless
name: ingestion-scheduler Spotless Apply
entry: ./gradlew :ingestion-scheduler:spotlessApply
language: system
files: ^ingestion-scheduler/.*\.java$
pass_filenames: false
- id: li-utils-spotless
name: li-utils Spotless Apply
entry: ./gradlew :li-utils:spotlessApply
language: system
files: ^li-utils/.*\.java$
pass_filenames: false
- id: metadata-auth-auth-api-spotless
name: metadata-auth/auth-api Spotless Apply
entry: ./gradlew :metadata-auth:auth-api:spotlessApply
language: system
files: ^metadata-auth/auth-api/.*\.java$
pass_filenames: false
- id: metadata-dao-impl-kafka-producer-spotless
name: metadata-dao-impl/kafka-producer Spotless Apply
entry: ./gradlew :metadata-dao-impl:kafka-producer:spotlessApply
language: system
files: ^metadata-dao-impl/kafka-producer/.*\.java$
pass_filenames: false
- id: metadata-events-mxe-avro-spotless
name: metadata-events/mxe-avro Spotless Apply
entry: ./gradlew :metadata-events:mxe-avro:spotlessApply
language: system
files: ^metadata-events/mxe-avro/.*\.java$
pass_filenames: false
- id: metadata-events-mxe-registration-spotless
name: metadata-events/mxe-registration Spotless Apply
entry: ./gradlew :metadata-events:mxe-registration:spotlessApply
language: system
files: ^metadata-events/mxe-registration/.*\.java$
pass_filenames: false
- id: metadata-events-mxe-schemas-spotless
name: metadata-events/mxe-schemas Spotless Apply
entry: ./gradlew :metadata-events:mxe-schemas:spotlessApply
language: system
files: ^metadata-events/mxe-schemas/.*\.java$
pass_filenames: false
- id: metadata-events-mxe-utils-avro-spotless
name: metadata-events/mxe-utils-avro Spotless Apply
entry: ./gradlew :metadata-events:mxe-utils-avro:spotlessApply
language: system
files: ^metadata-events/mxe-utils-avro/.*\.java$
pass_filenames: false
- id: metadata-ingestion-lint-fix
name: metadata-ingestion Lint Fix
entry: ./gradlew :metadata-ingestion:lintFix
language: system
files: ^metadata-ingestion/.*\.py$
pass_filenames: false
- id: metadata-ingestion-modules-airflow-plugin-lint-fix
name: metadata-ingestion-modules/airflow-plugin Lint Fix
entry: ./gradlew :metadata-ingestion-modules:airflow-plugin:lintFix
language: system
files: ^metadata-ingestion-modules/airflow-plugin/.*\.py$
pass_filenames: false
- id: metadata-ingestion-modules-dagster-plugin-lint-fix
name: metadata-ingestion-modules/dagster-plugin Lint Fix
entry: ./gradlew :metadata-ingestion-modules:dagster-plugin:lintFix
language: system
files: ^metadata-ingestion-modules/dagster-plugin/.*\.py$
pass_filenames: false
- id: metadata-ingestion-modules-gx-plugin-lint-fix
name: metadata-ingestion-modules/gx-plugin Lint Fix
entry: ./gradlew :metadata-ingestion-modules:gx-plugin:lintFix
language: system
files: ^metadata-ingestion-modules/gx-plugin/.*\.py$
pass_filenames: false
- id: metadata-ingestion-modules-prefect-plugin-lint-fix
name: metadata-ingestion-modules/prefect-plugin Lint Fix
entry: ./gradlew :metadata-ingestion-modules:prefect-plugin:lintFix
language: system
files: ^metadata-ingestion-modules/prefect-plugin/.*\.py$
pass_filenames: false
- id: metadata-integration-java-acryl-spark-lineage-spotless
name: metadata-integration/java/acryl-spark-lineage Spotless Apply
entry: ./gradlew :metadata-integration:java:acryl-spark-lineage:spotlessApply
language: system
files: ^metadata-integration/java/acryl-spark-lineage/.*\.java$
pass_filenames: false
- id: metadata-integration-java-datahub-client-spotless
name: metadata-integration/java/datahub-client Spotless Apply
entry: ./gradlew :metadata-integration:java:datahub-client:spotlessApply
language: system
files: ^metadata-integration/java/datahub-client/.*\.java$
pass_filenames: false
- id: metadata-integration-java-datahub-event-spotless
name: metadata-integration/java/datahub-event Spotless Apply
entry: ./gradlew :metadata-integration:java:datahub-event:spotlessApply
language: system
files: ^metadata-integration/java/datahub-event/.*\.java$
pass_filenames: false
- id: metadata-integration-java-datahub-protobuf-spotless
name: metadata-integration/java/datahub-protobuf Spotless Apply
entry: ./gradlew :metadata-integration:java:datahub-protobuf:spotlessApply
language: system
files: ^metadata-integration/java/datahub-protobuf/.*\.java$
pass_filenames: false
- id: metadata-integration-java-datahub-schematron-cli-spotless
name: metadata-integration/java/datahub-schematron/cli Spotless Apply
entry: ./gradlew :metadata-integration:java:datahub-schematron:cli:spotlessApply
language: system
files: ^metadata-integration/java/datahub-schematron/cli/.*\.java$
pass_filenames: false
- id: metadata-integration-java-datahub-schematron-lib-spotless
name: metadata-integration/java/datahub-schematron/lib Spotless Apply
entry: ./gradlew :metadata-integration:java:datahub-schematron:lib:spotlessApply
language: system
files: ^metadata-integration/java/datahub-schematron/lib/.*\.java$
pass_filenames: false
- id: metadata-integration-java-examples-spotless
name: metadata-integration/java/examples Spotless Apply
entry: ./gradlew :metadata-integration:java:examples:spotlessApply
language: system
files: ^metadata-integration/java/examples/.*\.java$
pass_filenames: false
- id: metadata-integration-java-openlineage-converter-spotless
name: metadata-integration/java/openlineage-converter Spotless Apply
entry: ./gradlew :metadata-integration:java:openlineage-converter:spotlessApply
language: system
files: ^metadata-integration/java/openlineage-converter/.*\.java$
pass_filenames: false
- id: metadata-integration-java-spark-lineage-legacy-spotless
name: metadata-integration/java/spark-lineage-legacy Spotless Apply
entry: ./gradlew :metadata-integration:java:spark-lineage-legacy:spotlessApply
language: system
files: ^metadata-integration/java/spark-lineage-legacy/.*\.java$
pass_filenames: false
- id: metadata-io-spotless
name: metadata-io Spotless Apply
entry: ./gradlew :metadata-io:spotlessApply
language: system
files: ^metadata-io/.*\.java$
pass_filenames: false
- id: metadata-io-metadata-io-api-spotless
name: metadata-io/metadata-io-api Spotless Apply
entry: ./gradlew :metadata-io:metadata-io-api:spotlessApply
language: system
files: ^metadata-io/metadata-io-api/.*\.java$
pass_filenames: false
- id: metadata-jobs-common-spotless
name: metadata-jobs/common Spotless Apply
entry: ./gradlew :metadata-jobs:common:spotlessApply
language: system
files: ^metadata-jobs/common/.*\.java$
pass_filenames: false
- id: metadata-jobs-mae-consumer-spotless
name: metadata-jobs/mae-consumer Spotless Apply
entry: ./gradlew :metadata-jobs:mae-consumer:spotlessApply
language: system
files: ^metadata-jobs/mae-consumer/.*\.java$
pass_filenames: false
- id: metadata-jobs-mae-consumer-job-spotless
name: metadata-jobs/mae-consumer-job Spotless Apply
entry: ./gradlew :metadata-jobs:mae-consumer-job:spotlessApply
language: system
files: ^metadata-jobs/mae-consumer-job/.*\.java$
pass_filenames: false
- id: metadata-jobs-mce-consumer-spotless
name: metadata-jobs/mce-consumer Spotless Apply
entry: ./gradlew :metadata-jobs:mce-consumer:spotlessApply
language: system
files: ^metadata-jobs/mce-consumer/.*\.java$
pass_filenames: false
- id: metadata-jobs-mce-consumer-job-spotless
name: metadata-jobs/mce-consumer-job Spotless Apply
entry: ./gradlew :metadata-jobs:mce-consumer-job:spotlessApply
language: system
files: ^metadata-jobs/mce-consumer-job/.*\.java$
pass_filenames: false
- id: metadata-jobs-pe-consumer-spotless
name: metadata-jobs/pe-consumer Spotless Apply
entry: ./gradlew :metadata-jobs:pe-consumer:spotlessApply
language: system
files: ^metadata-jobs/pe-consumer/.*\.java$
pass_filenames: false
- id: metadata-models-spotless
name: metadata-models Spotless Apply
entry: ./gradlew :metadata-models:spotlessApply
language: system
files: ^metadata-models/.*\.java$
pass_filenames: false
- id: metadata-models-custom-spotless
name: metadata-models-custom Spotless Apply
entry: ./gradlew :metadata-models-custom:spotlessApply
language: system
files: ^metadata-models-custom/.*\.java$
pass_filenames: false
- id: metadata-models-validator-spotless
name: metadata-models-validator Spotless Apply
entry: ./gradlew :metadata-models-validator:spotlessApply
language: system
files: ^metadata-models-validator/.*\.java$
pass_filenames: false
- id: metadata-operation-context-spotless
name: metadata-operation-context Spotless Apply
entry: ./gradlew :metadata-operation-context:spotlessApply
language: system
files: ^metadata-operation-context/.*\.java$
pass_filenames: false
- id: metadata-service-auth-config-spotless
name: metadata-service/auth-config Spotless Apply
entry: ./gradlew :metadata-service:auth-config:spotlessApply
language: system
files: ^metadata-service/auth-config/.*\.java$
pass_filenames: false
- id: metadata-service-auth-filter-spotless
name: metadata-service/auth-filter Spotless Apply
entry: ./gradlew :metadata-service:auth-filter:spotlessApply
language: system
files: ^metadata-service/auth-filter/.*\.java$
pass_filenames: false
- id: metadata-service-auth-impl-spotless
name: metadata-service/auth-impl Spotless Apply
entry: ./gradlew :metadata-service:auth-impl:spotlessApply
language: system
files: ^metadata-service/auth-impl/.*\.java$
pass_filenames: false
- id: metadata-service-auth-servlet-impl-spotless
name: metadata-service/auth-servlet-impl Spotless Apply
entry: ./gradlew :metadata-service:auth-servlet-impl:spotlessApply
language: system
files: ^metadata-service/auth-servlet-impl/.*\.java$
pass_filenames: false
- id: metadata-service-configuration-spotless
name: metadata-service/configuration Spotless Apply
entry: ./gradlew :metadata-service:configuration:spotlessApply
language: system
files: ^metadata-service/configuration/.*\.java$
pass_filenames: false
- id: metadata-service-factories-spotless
name: metadata-service/factories Spotless Apply
entry: ./gradlew :metadata-service:factories:spotlessApply
language: system
files: ^metadata-service/factories/.*\.java$
pass_filenames: false
- id: metadata-service-graphql-servlet-impl-spotless
name: metadata-service/graphql-servlet-impl Spotless Apply
entry: ./gradlew :metadata-service:graphql-servlet-impl:spotlessApply
language: system
files: ^metadata-service/graphql-servlet-impl/.*\.java$
pass_filenames: false
- id: metadata-service-openapi-analytics-servlet-spotless
name: metadata-service/openapi-analytics-servlet Spotless Apply
entry: ./gradlew :metadata-service:openapi-analytics-servlet:spotlessApply
language: system
files: ^metadata-service/openapi-analytics-servlet/.*\.java$
pass_filenames: false
- id: metadata-service-openapi-entity-servlet-spotless
name: metadata-service/openapi-entity-servlet Spotless Apply
entry: ./gradlew :metadata-service:openapi-entity-servlet:spotlessApply
language: system
files: ^metadata-service/openapi-entity-servlet/.*\.java$
pass_filenames: false
- id: metadata-service-openapi-entity-servlet-generators-spotless
name: metadata-service/openapi-entity-servlet/generators Spotless Apply
entry: ./gradlew :metadata-service:openapi-entity-servlet:generators:spotlessApply
language: system
files: ^metadata-service/openapi-entity-servlet/generators/.*\.java$
pass_filenames: false
- id: metadata-service-openapi-servlet-spotless
name: metadata-service/openapi-servlet Spotless Apply
entry: ./gradlew :metadata-service:openapi-servlet:spotlessApply
language: system
files: ^metadata-service/openapi-servlet/.*\.java$
pass_filenames: false
- id: metadata-service-openapi-servlet-models-spotless
name: metadata-service/openapi-servlet/models Spotless Apply
entry: ./gradlew :metadata-service:openapi-servlet:models:spotlessApply
language: system
files: ^metadata-service/openapi-servlet/models/.*\.java$
pass_filenames: false
- id: metadata-service-plugin-spotless
name: metadata-service/plugin Spotless Apply
entry: ./gradlew :metadata-service:plugin:spotlessApply
language: system
files: ^metadata-service/plugin/.*\.java$
pass_filenames: false
- id: metadata-service-plugin-src-test-sample-test-plugins-spotless
name: metadata-service/plugin/src/test/sample-test-plugins Spotless Apply
entry: ./gradlew :metadata-service:plugin:src:test:sample-test-plugins:spotlessApply
language: system
files: ^metadata-service/plugin/src/test/sample-test-plugins/.*\.java$
pass_filenames: false
- id: metadata-service-restli-client-spotless
name: metadata-service/restli-client Spotless Apply
entry: ./gradlew :metadata-service:restli-client:spotlessApply
language: system
files: ^metadata-service/restli-client/.*\.java$
pass_filenames: false
- id: metadata-service-restli-client-api-spotless
name: metadata-service/restli-client-api Spotless Apply
entry: ./gradlew :metadata-service:restli-client-api:spotlessApply
language: system
files: ^metadata-service/restli-client-api/.*\.java$
pass_filenames: false
- id: metadata-service-restli-servlet-impl-spotless
name: metadata-service/restli-servlet-impl Spotless Apply
entry: ./gradlew :metadata-service:restli-servlet-impl:spotlessApply
language: system
files: ^metadata-service/restli-servlet-impl/.*\.java$
pass_filenames: false
- id: metadata-service-schema-registry-api-spotless
name: metadata-service/schema-registry-api Spotless Apply
entry: ./gradlew :metadata-service:schema-registry-api:spotlessApply
language: system
files: ^metadata-service/schema-registry-api/.*\.java$
pass_filenames: false
- id: metadata-service-schema-registry-servlet-spotless
name: metadata-service/schema-registry-servlet Spotless Apply
entry: ./gradlew :metadata-service:schema-registry-servlet:spotlessApply
language: system
files: ^metadata-service/schema-registry-servlet/.*\.java$
pass_filenames: false
- id: metadata-service-services-spotless
name: metadata-service/services Spotless Apply
entry: ./gradlew :metadata-service:services:spotlessApply
language: system
files: ^metadata-service/services/.*\.java$
pass_filenames: false
- id: metadata-service-servlet-spotless
name: metadata-service/servlet Spotless Apply
entry: ./gradlew :metadata-service:servlet:spotlessApply
language: system
files: ^metadata-service/servlet/.*\.java$
pass_filenames: false
- id: metadata-utils-spotless
name: metadata-utils Spotless Apply
entry: ./gradlew :metadata-utils:spotlessApply
language: system
files: ^metadata-utils/.*\.java$
pass_filenames: false
- id: mock-entity-registry-spotless
name: mock-entity-registry Spotless Apply
entry: ./gradlew :mock-entity-registry:spotlessApply
language: system
files: ^mock-entity-registry/.*\.java$
pass_filenames: false
- id: smoke-test-lint-fix
name: smoke-test Lint Fix
entry: ./gradlew :smoke-test:lintFix
language: system
files: ^smoke-test/.*\.py$
pass_filenames: false
- id: test-models-spotless
name: test-models Spotless Apply
entry: ./gradlew :test-models:spotlessApply
language: system
files: ^test-models/.*\.java$
pass_filenames: false
- id: smoke-test-cypress-lint-fix
name: smoke-test cypress Lint Fix
entry: ./gradlew :smoke-test:cypressLintFix
language: system
files: ^smoke-test/tests/cypress/.*\.tsx$
pass_filenames: false