-werners-
Esteemed Contributor III

Very interesting question!

Git on Databricks is not bound to a cluster, the code is separated from the clusters. So to use git pre-commit hooks, we need a way to configure git on Databricks (aka Repos). The only place where you can do this is in the admin panel. I looked and there is no possibility to add pre-commit hooks.

But this is definitely an interesting feature to have.

Maybe someone pulled it off in some way? If not:

you should post it as a feature request IMO.

View solution in original post