inspera / blackbricks

Black for Databricks notebooks
MIT License
44 stars 9 forks source link

No newline at eol in formatted notebooks #37

Closed weery closed 1 year ago

weery commented 1 year ago

We use the new black formatting in databricks notebooks which adds a newline at the end of each notebook. We also use blackbricks in our CI/CD pipeline to check for formatting issues. To make sure that our CI/CD passes we tend to checkout our changes locally just to run blackbricks locally before we run our pipeline, which is quite tedious.

A potential fix #36

weery commented 1 year ago

Another way of handling this while keeping backwards compability would be to add a CLI option defaulting to current master, see #38