Skip to content

Commit

Permalink
Update pre commit install instructions (#2723)
Browse files Browse the repository at this point in the history
* update pre-commit install instructions

* remove pre-commit.sh
  • Loading branch information
kelvin-muchiri authored Nov 11, 2024
1 parent 4e677b7 commit 74d4ee5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 2 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,11 @@ Edit top level requirements in the file `requirements/base.in <requirements/base
pip-compile --output-file requirements/base.pip requirements/base.in
Copy `pre-commit.sh <pre-commit.sh>`_ into `.git/hooks/pre-commit`, it ensures staged python flake8 are in acceptable code style and conventions.
Install the pre-commit hooks by running:

.. code-block:: sh
cp pre-commit.sh .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
pre-commit install
**Security Acknowledgments**

Expand Down
4 changes: 0 additions & 4 deletions pre-commit.sh

This file was deleted.

0 comments on commit 74d4ee5

Please sign in to comment.