Skip to content
This repository was archived by the owner on Aug 10, 2022. It is now read-only.

Commit aca0251

Browse files
committed
Add comment to use pre-commit
1 parent 006d4f1 commit aca0251

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ For smother development experience install Invoke for task run first
4343
inv dist -core # publish eyes_core to test.pypi.org
4444
inv dist -core -prod # publish eyes_core to pypi.org
4545

46+
Install pre-commit hook
47+
***********************
48+
We're using `pre-commit <https://github.com/pre-commit/pre-commit>`_ for check and format code before commit. For
49+
manage hooks you could use invoke:
50+
51+
::
52+
53+
# installing of git hooks
54+
inv install-precommit-hook
55+
# removing of git hooks
56+
inv remove-precommit-hook
57+
4658

4759
Testing
4860
-------

0 commit comments

Comments
 (0)