From 20bd3f02becc8c8657a23f058b82e8708e9336cc Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 5 Aug 2024 15:35:50 +0200 Subject: [5.1.x] Used :pypi: role in docs where appropriate. Backport of 304d25667433a59409e334a93acaaa9201840508 from main. --- docs/internals/contributing/writing-code/coding-style.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/internals/contributing/writing-code') 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/ -- cgit v1.3