Skip to content

Commit be970d8

Browse files
committed
Update changelog and readme
- add missing changelog items - add `--verbose` to the example pre-commit config (it's a frequent question) - add some example usage (and subtly endorse the brew formula maintained in homebrew-core)
1 parent cc87170 commit be970d8

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ Unreleased
99
----------
1010

1111
.. vendor-insert-here
12-
1312
- Update vendored schemas (2023-09-20)
13+
- Add a ``--validator-class`` option for specifying a custom
14+
``jsonschema.protocols.Validator`` class to use (:pr:`327`, :issue:`262`)
15+
- Minor fix to hook regexes to explicitly match `.` chars. Thanks
16+
:user:`skwde`! (:pr:`325`)
1417

1518
0.26.3
1619
------

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,23 @@ files.
2626
rev: 0.26.3
2727
hooks:
2828
- id: check-github-workflows
29+
args: ["--verbose"]
2930
```
3031
32+
### Installing and Running as a CLI Tool
33+
34+
Install with `pipx` or `brew`:
35+
36+
pipx install check-jsonschema
37+
38+
or
39+
40+
brew install check-jsonschema
41+
42+
Then run, as in
43+
44+
check-jsonschema --schemafile schema.json instance.json
45+
3146
## Documentation
3247

3348
Full documentation can be found at https://check-jsonschema.readthedocs.io/

0 commit comments

Comments
 (0)