diff --git a/pyproject.toml b/pyproject.toml
index 0767b1ae8ddbdef6d83c65c66040307fe07a60b5..248982e808e8e1534ebaaf5d932ddcdbf022dd55 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -65,10 +65,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'
 
@@ -84,6 +80,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"]