diff --git a/doc/source/development/contributing_environment.rst b/doc/source/development/contributing_environment.rst index 4a70057cf18e3..089bba8a281b2 100644 --- a/doc/source/development/contributing_environment.rst +++ b/doc/source/development/contributing_environment.rst @@ -216,6 +216,16 @@ should already exist. python setup.py build_ext -j 4 python -m pip install -e . --no-build-isolation --no-use-pep517 +**Installing Pre-commit** + +In the root directory of the project run the below command to install the pre-commit tool. For more details on installing and usage of pre-commit,visit +`here `__. + +.. code-block:: powershell + + # Install pre-commit + pre-commit install + Option 2: creating an environment using Docker ----------------------------------------------