doc: we use ruff instead of black

This commit is contained in:
Éloi Rivard 2024-03-28 12:03:20 +01:00
parent af8e482728
commit 61df50aa39
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184

View file

@ -127,7 +127,7 @@ You can check the HTML coverage report in the newly created `htmlcov` directory.
Code style Code style
---------- ----------
We use `black` along with other tools to format our code. We use `ruff <https://docs.astral.sh/ruff/>`_ along with other tools to format our code.
Please run ``tox -e style`` on your patches before submiting them. Please run ``tox -e style`` on your patches before submiting them.
In order to perform a style check and correction at each commit you can use our In order to perform a style check and correction at each commit you can use our
`pre-commit <https://pre-commit.com/>`_ configuration with ``pre-commit install``. `pre-commit <https://pre-commit.com/>`_ configuration with ``pre-commit install``.