pyproject.toml has config for both [tool.black] and [tool.ruff] formatting. Ruff's formatter is a drop-in replacement for Black, so having both creates ambiguity about which is authoritative.
Pre-commit runs ruff format, so Black config appears to be dead weight. Removing [tool.black] and black from dev dependencies would simplify things.
pyproject.tomlhas config for both[tool.black]and[tool.ruff]formatting. Ruff's formatter is a drop-in replacement for Black, so having both creates ambiguity about which is authoritative.Pre-commit runs
ruff format, so Black config appears to be dead weight. Removing[tool.black]andblackfrom dev dependencies would simplify things.