Skip to content

Commit 7bbe4cf

Browse files
[pre-commit.ci] pre-commit autoupdate (#514)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/python-jsonschema/check-jsonschema: 0.30.0 → 0.31.0](0.30.0...0.31.0) * Set self-check of azure-pipelines to nonunicode This is the only schema (to date) which provides an invalid regex under unicode-mode evaluation. Tweak the metaschema check to agree with it. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Stephen Rosen <[email protected]>
1 parent 3126ec6 commit 7bbe4cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
repos:
22
# dogfood
33
- repo: https://github.com/python-jsonschema/check-jsonschema
4-
rev: 0.30.0
4+
rev: 0.31.0
55
hooks:
66
- id: check-dependabot
77
- id: check-github-workflows
88
- id: check-readthedocs
99
- id: check-metaschema
1010
name: Validate Vendored Schemas
1111
files: ^src/check_jsonschema/builtin_schemas/vendor/.*\.json$
12+
exclude: ^src/check_jsonschema/builtin_schemas/vendor/azure-pipelines\.json$
13+
- id: check-metaschema
14+
name: Validate Vendored Schemas (nonunicode regexes)
15+
files: ^src/check_jsonschema/builtin_schemas/vendor/azure-pipelines\.json$
16+
args: ["--regex-variant", "nonunicode"]
1217
- id: check-jsonschema
1318
name: Validate Test Configs
1419
args: ["--schemafile", "tests/example-files/config_schema.json"]

0 commit comments

Comments
 (0)