Skip to content

Commit

Permalink
Update pre-commit setup instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
codingjoe authored Jun 25, 2019
1 parent cc7090f commit 403fc1e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,10 @@ with `pre-commit`_ framework:

.. code-block:: YAML
- repo: local
- repo: https://github.com/codingjoe/relint
rev: 0.5.0
hooks:
- id: relint
name: relint
entry: bin/relint-pre-commit.sh
language: system
- id: relint
You can find an example of `relint-pre-commit.sh`_ in this repository.

Expand Down Expand Up @@ -99,4 +97,4 @@ Samples
- "*/management/commands/*.py"
.. _`pre-commit`: https://pre-commit.com/
.. _`relint-pre-commit.sh`: relint-pre-commit.sh
.. _`relint-pre-commit.sh`: relint-pre-commit.sh

0 comments on commit 403fc1e

Please sign in to comment.