summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/coding-style.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-08-05 15:35:50 +0200
committerGitHub <noreply@github.com>2024-08-05 10:35:50 -0300
commit304d25667433a59409e334a93acaaa9201840508 (patch)
treee327a09a1a7cce24b10e402ff656031bb5cce782 /docs/internals/contributing/writing-code/coding-style.txt
parent7f8d839722b72aeb3ec5a4278ae57c18283acacd (diff)
Used :pypi: role in docs where appropriate.
Diffstat (limited to 'docs/internals/contributing/writing-code/coding-style.txt')
-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/