How to run black code-formating on the notebooks using custom configurations in UI

Barnita
New Contributor III

Hi all,

I’m currently exploring how we can format notebook code using Black (installed via libraries) with specific configurations.

I understand that we can configure Black locally using a pyproject.toml file. However, I’d like to know if there’s a way to apply these configurations directly within the Databricks UI or cluster environment, since most of our developers primarily code in the UI.

Any guidance or suggestions would be greatly appreciated!