summaryrefslogtreecommitdiff
path: root/docs/internals
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-08-05 15:35:50 +0200
committerNatalia <124304+nessita@users.noreply.github.com>2024-08-05 10:36:41 -0300
commit20bd3f02becc8c8657a23f058b82e8708e9336cc (patch)
tree18fa054c77d7642fc7c9ca2322662b7fe0b9c2f7 /docs/internals
parent88ebcb1856deef5ab777601a735c9954ac723325 (diff)
[5.1.x] Used :pypi: role in docs where appropriate.
Backport of 304d25667433a59409e334a93acaaa9201840508 from main.
Diffstat (limited to 'docs/internals')
-rw-r--r--docs/internals/contributing/writing-code/coding-style.txt5
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/