diff --git a/pyproject.toml b/pyproject.toml
index 448e26bd3812d0bd77a518ded94c82ba238d04eb..b4db2362551235abba93cb3eda47e05224e7e5ee 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -86,12 +86,9 @@ sphinxcontrib-svg2pdfconverter = "^1.1.1"
 sphinx-autodoc-typehints = "^1.7"
 sphinx_material = "^0.0.35"
 
-[tool.black]
-line-length = 100
-exclude = "/migrations/"
-
 [tool.ruff]
 exclude = ["migrations", "tests"]
+line-length = 100
 
 [tool.ruff.lint]
 select = ["E", "F", "UP", "B", "SIM", "I", "DJ", "A", "S"]