Skip to content

Commit

Permalink
The source is auto-formatted with ruff, not black (#798)
Browse files Browse the repository at this point in the history
I had forgotten to change that in cb8fd38.

Co-authored-by: Brett Cannon <brett@python.org>
  • Loading branch information
DimitriPapadopoulos and brettcannon authored Jun 14, 2024
1 parent 88b6be4 commit 209de2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/development/submitting-patches.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ follow the directions on the :doc:`security page </security>`.
Code
----

This project's source is auto-formatted with |black|. You can check if your
This project's source is auto-formatted with |ruff|. You can check if your
code meets our requirements by running our linters against it with ``nox -s
lint`` or ``pre-commit run --all-files``.

Expand Down Expand Up @@ -67,8 +67,8 @@ So, specifically:
* Use Sphinx parameter/attribute documentation `syntax`_.


.. |black| replace:: ``black``
.. _black: https://pypi.org/project/black/
.. |ruff| replace:: ``ruff``
.. _ruff: https://astral.sh/ruff
.. _`Write comments as complete sentences.`: https://nedbatchelder.com/blog/201401/comments_should_be_sentences.html
.. _`syntax`: https://www.sphinx-doc.org/en/master/usage/restructuredtext/field-lists.html
.. _`Studies have shown`: https://www.microsoft.com/en-us/research/publication/characteristics-of-useful-code-reviews-an-empirical-study-at-microsoft/

0 comments on commit 209de2d

Please sign in to comment.