mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Refs #33476 -- Mentioned black in docs about pre-commit checks.
This commit is contained in:
parent
e559070a7a
commit
fe3518d25e
@ -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
|
installed in their own environments and will take a short while to
|
||||||
install on the first run. Subsequent checks will be significantly faster.
|
install on the first run. Subsequent checks will be significantly faster.
|
||||||
If an error is found an appropriate error message will be displayed.
|
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
|
If the error was with ``black`` or ``isort`` then the tool will go ahead and
|
||||||
you. Review the changes and re-stage for commit if you are happy with
|
fix them for you. Review the changes and re-stage for commit if you are happy
|
||||||
them.
|
with them.
|
||||||
|
|
||||||
.. _coding-style-python:
|
.. _coding-style-python:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user