summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaarun Sinha <85062344+VaarunSinha@users.noreply.github.com>2022-02-17 20:29:31 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-21 07:53:22 +0100
commitbe4a106930e27fe6d8f172b7283e064bb07c33b5 (patch)
tree1b860da8dfdf915ecdb575de3f55e8040bfd1dd4
parent89befae7b5b7e668d6c2bc4d1b312bc10016130b (diff)
downloaddjango-be4a106930e27fe6d8f172b7283e064bb07c33b5.tar.gz
[4.0.x] Refs #33476 -- Mentioned black in docs about pre-commit checks.
Backport of fe3518d25edd69b782339729080b0295a8a33952 from main
-rw-r--r--docs/internals/contributing/writing-code/coding-style.txt6
1 files 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: