inspera / blackbricks

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

Change CLI to use Typer + improve two space indent #3

Closed bsamseth closed 4 years ago

bsamseth commented 4 years ago

CLI is now written using https://github.com/tiangolo/typer.

Also, the two-space indentation is improved, by dynamically patching psf/black to use two spaces instead of four. As this now means the code is guaranteed not to change due to indentation changes (the AST is the same before and after black), the option is now the default.