Skip to content

Commit af08f7b

Browse files
committed
Update docs and bump version
1 parent a918c52 commit af08f7b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v2.3.0
3+
rev: v4.1.0
44
hooks:
55
- id: check-json
66
- id: pretty-format-json

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Mapping notes & respective JSON-LD output:
2727
- [SMS and Contacts](examples/illustrations/sms_and_contacts/sms_and_contacts.json)
2828

2929

30-
This project uses [the `pre-commit` tool](https://pre-commit.com/) for linting the JSON files and ensuring consistent formatting. The easiest way to install it is with `pip`:
30+
This project uses [the `pre-commit` tool](https://pre-commit.com/) for linting the JSON files and ensuring consistent formatting. It can be installed with `pip`:
3131
```bash
3232
pip install pre-commit
3333
pre-commit --version
@@ -36,4 +36,6 @@ pre-commit --version
3636
The `pre-commit` tool hooks into Git's commit machinery to run a set of linters and static analyzers over each change. To install `pre-commit` into Git's hooks, run:
3737
```bash
3838
pre-commit install
39-
```
39+
```
40+
41+
To uninstall `pre-commit`, run either `pre-commit uninstall` or `rm .git/hooks/pre-commit`.

0 commit comments

Comments
 (0)