diff --git a/pyproject.toml b/pyproject.toml
index f8760feeb2a3d2a9c694d2c7b00aa6e49e0e6041..7abae0c02e791ab69ab716700c18f2fe5e0d7517 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -67,10 +67,6 @@ sphinxcontrib-svg2pdfconverter = "^1.1.1"
 sphinx-autodoc-typehints = "^1.7"
 sphinx_material = "^0.0.35"
 
-[tool.black]
-line-length = 100
-exclude = "/migrations/"
-
 [tool.curlylint]
 include = '\.html'
 
@@ -86,6 +82,7 @@ tabindex_no_positive = true
 
 [tool.ruff]
 exclude = ["migrations", "tests"]
+line-length = 100
 
 [tool.ruff.lint]
 select = ["E", "F", "UP", "B", "SIM", "I", "DJ", "A", "S"]