Skip to content

Commit 512fcad

Browse files
authored
Merge pull request #543 from edgarrmondragon/check-meltano-types_or
Use `types_or` for the `check-meltano` hook
2 parents a75a8a0 + 365a32e commit 512fcad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
meltano-manifest\.json|
178178
meltano-manifest\..+\.json
179179
)$
180-
types: [json,yaml]
180+
types_or: [json,yaml]
181181

182182
# this hook is autogenerated from a script
183183
# to modify this hook, update `src/check_jsonschema/catalog.py`

src/check_jsonschema/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def _githubusercontent_url(owner: str, repo: str, ref: str, path: str) -> str:
183183
r"meltano-manifest\.json",
184184
r"meltano-manifest\..+\.json",
185185
],
186-
"types": ["json", "yaml"],
186+
"types_or": ["json", "yaml"],
187187
},
188188
},
189189
"mergify": {

0 commit comments

Comments
 (0)