From 09f124143d26667ed8234a485d4c2b51c2842b7d Mon Sep 17 00:00:00 2001 From: Philip May Date: Fri, 1 Dec 2023 11:02:01 +0100 Subject: [PATCH] Update black.md --- source/python/black.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/python/black.md b/source/python/black.md index 96356d5..a63e57f 100644 --- a/source/python/black.md +++ b/source/python/black.md @@ -7,10 +7,8 @@ Black can be configured in `pyproject.toml` (see [Usage and Configuration - The basics](https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html)). -Example config: - -:::{code} python -:filename: pyproject.toml +:::{code-block} python +:caption: Example config in `pyproject.toml` [tool.black] line-length = 99 target-version = ["py310"]