[4.0.x] Refs #33476 -- Mentioned black in docs about pre-commit checks.

Backport of fe3518d25edd69b782339729080b0295a8a33952 from main
This commit is contained in:
Vaarun Sinha 2022-02-17 20:29:31 +05:30 committed by Mariusz Felisiak
parent 89befae7b5
commit be4a106930

View File

@ -26,9 +26,9 @@ On the first commit ``pre-commit`` will install the hooks, these are
installed in their own environments and will take a short while to
install on the first run. Subsequent checks will be significantly faster.
If an error is found an appropriate error message will be displayed.
If the error was with ``isort`` then the tool will go ahead and fix them for
you. Review the changes and re-stage for commit if you are happy with
them.
If the error was with ``black`` or ``isort`` then the tool will go ahead and
fix them for you. Review the changes and re-stage for commit if you are happy
with them.
.. _coding-style-python: