From be4a106930e27fe6d8f172b7283e064bb07c33b5 Mon Sep 17 00:00:00 2001 From: Vaarun Sinha <85062344+VaarunSinha@users.noreply.github.com> Date: Thu, 17 Feb 2022 20:29:31 +0530 Subject: [PATCH] [4.0.x] Refs #33476 -- Mentioned black in docs about pre-commit checks. Backport of fe3518d25edd69b782339729080b0295a8a33952 from main --- docs/internals/contributing/writing-code/coding-style.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt index 47f5309085..1bfe01bab5 100644 --- a/docs/internals/contributing/writing-code/coding-style.txt +++ b/docs/internals/contributing/writing-code/coding-style.txt @@ -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: