Skip to content

Commit 403fc1e

Browse files
authored
Update pre-commit setup instructions
1 parent cc7090f commit 403fc1e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.rst

+4-6
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,10 @@ with `pre-commit`_ framework:
5858

5959
.. code-block:: YAML
6060
61-
- repo: local
61+
- repo: https://github.com/codingjoe/relint
62+
rev: 0.5.0
6263
hooks:
63-
- id: relint
64-
name: relint
65-
entry: bin/relint-pre-commit.sh
66-
language: system
64+
- id: relint
6765
6866
You can find an example of `relint-pre-commit.sh`_ in this repository.
6967

@@ -99,4 +97,4 @@ Samples
9997
- "*/management/commands/*.py"
10098
10199
.. _`pre-commit`: https://pre-commit.com/
102-
.. _`relint-pre-commit.sh`: relint-pre-commit.sh
100+
.. _`relint-pre-commit.sh`: relint-pre-commit.sh

0 commit comments

Comments
 (0)