Skip to content

Commit

Permalink
Update developers_install.rst
Browse files Browse the repository at this point in the history
Add info on pre-commit hook
  • Loading branch information
OsaAjani authored Jan 31, 2025
1 parent ff4dca0 commit d0513ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/developer_guide/developers_install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ and
$ python3 -m flake8 -v --show-source --max-line-length=92 moviepy docs/conf.py examples tests
Adding Git pre-commit hooks
-----------------------------

Running linter manually is painfull and error prone, instead you should consider adding a pre-commit hook.
To do so you can simply go in your local moviepy directory, and run :

.. code:: bash
$ pre-commit install
This will enable a git hooks using python pre-commit framework.



0 comments on commit d0513ae

Please sign in to comment.