diff options
Diffstat (limited to 'docs/internals/contributing/writing-code')
| -rw-r--r-- | docs/internals/contributing/writing-code/coding-style.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt index 73c120f71e..c1838b77a3 100644 --- a/docs/internals/contributing/writing-code/coding-style.txt +++ b/docs/internals/contributing/writing-code/coding-style.txt @@ -35,8 +35,8 @@ with them. Python style ============ -* All files should be formatted using the `black`_ auto-formatter. This will be - run by ``pre-commit`` if that is configured. +* All files should be formatted using the :pypi:`black` auto-formatter. This + will be run by ``pre-commit`` if that is configured. * The project repository includes an ``.editorconfig`` file. We recommend using a text editor with `EditorConfig`_ support to avoid indentation and @@ -506,5 +506,4 @@ JavaScript style For details about the JavaScript code style used by Django, see :doc:`javascript`. -.. _black: https://black.readthedocs.io/en/stable/ .. _editorconfig: https://editorconfig.org/ |
