pyproject.toml
config to work. pixi
) and black is set as a required dependency.pyproject.toml
or ruff.toml
try: import ruff
like class BlackFormatter
BlackFormatter
's LOGGER.warning( "To enable code formatting, install black (pip install black)")