Skip to content

Commit

Permalink
remove .githooks/pre-commit and update documentation on how to set up…
Browse files Browse the repository at this point in the history
… the pre-commit hooks
  • Loading branch information
leahh committed Jan 30, 2025
1 parent 70a6d8d commit 03a77a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 25 deletions.
20 changes: 0 additions & 20 deletions .githooks/pre-commit

This file was deleted.

8 changes: 3 additions & 5 deletions docs/sphinx/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ Upon release, develop will be merged by the team lead into main. Additionally, a

Style Guide
===========
BEE is python code and adheres to style guidelines specified in **setup.cfg**, enforced using `pylint <https://pylint.readthedocs.io/en/v3.2.7/#>`_. Before attempting to commit and push changes, please install our pre-commit githooks by running the following command in project root:
BEE is python code and adheres to style guidelines specified in **setup.cfg**, enforced using `pylint <https://pylint.readthedocs.io/en/v3.2.7/#>`_. Before attempting to commit and push changes, please set up the git hook scripts by running the following command in the project root:

If using `git --version` >= 2.9:
git config core.hooksPath .githooks
.. code-block::
Otherwise:
cp .githooks/* .git/hooks/
pre-commit install
Important Notes:
----------------
Expand Down

0 comments on commit 03a77a1

Please sign in to comment.