summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2025-11-14 13:30:30 -0500
committerJacob Walls <jacobtylerwalls@gmail.com>2025-11-21 14:37:19 -0500
commitabb9aab00e287b79fe6894ef66227f11d28924e0 (patch)
treee7bd1aecadacb3b232692d4fdbb915127b483473 /docs
parentaa8cbe051dfbc5ff3afe5f27c9ba965fbee7d747 (diff)
[6.0.x] Added GitHub Actions linter (zizmor).
At the direction of the Security Team. Thanks Markus Holtermann, Jake Howard, and Natalia Bidart for reviews. Backport of 09d4bf5cd9c95c588d3ec22edea5db1f5f146900 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/contributing/writing-code/submitting-patches.txt4
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt11
2 files changed, 8 insertions, 7 deletions
diff --git a/docs/internals/contributing/writing-code/submitting-patches.txt b/docs/internals/contributing/writing-code/submitting-patches.txt
index 035eb815cb..841a2109dc 100644
--- a/docs/internals/contributing/writing-code/submitting-patches.txt
+++ b/docs/internals/contributing/writing-code/submitting-patches.txt
@@ -432,8 +432,8 @@ All code changes
* Does the :doc:`coding style
</internals/contributing/writing-code/coding-style>` conform to our
- guidelines? Are there any ``black``, ``blacken-docs``, ``flake8``, or
- ``isort`` errors? You can install the :ref:`pre-commit
+ guidelines? Are there any ``black``, ``blacken-docs``, ``flake8``,
+ ``isort``, or ``zizmor`` errors? You can install the :ref:`pre-commit
<coding-style-pre-commit>` hooks to automatically catch these errors.
* If the change is backwards incompatible in any way, is there a note
in the release notes (``docs/releases/A.B.txt``)?
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index 22938c1cea..cba4ba7397 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -69,11 +69,11 @@ command from any place in the Django source tree:
$ tox
By default, ``tox`` runs the test suite with the bundled test settings file for
-SQLite, ``black``, ``blacken-docs``, ``flake8``, ``isort``, ``lint-docs`` and
-the documentation spelling checker. In addition to the system dependencies
-noted elsewhere in this documentation, the command ``python3`` must be on your
-path and linked to the appropriate version of Python. A list of default
-environments can be seen as follows:
+SQLite, ``black``, ``blacken-docs``, ``flake8``, ``isort``, ``lint-docs``,
+``zizmor``, and the documentation spelling checker. In addition to the system
+dependencies noted elsewhere in this documentation, the command ``python3``
+must be on your path and linked to the appropriate version of Python. A list of
+default environments can be seen as follows:
.. console::
@@ -85,6 +85,7 @@ environments can be seen as follows:
docs
isort>=7.0.0
lint-docs
+ zizmor>=1.16.3
Testing other Python versions and database backends
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~