inspera / blackbricks

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

AttributeError: module 'black' has no attribute 'get_string_prefix' #13

Closed benjaminbluhm closed 3 years ago

benjaminbluhm commented 3 years ago

Hi,

Closely related to this issue.

Would need to change black.get_string_prefix to black.strings.get_string_prefix in line 60 of blackbricks.py

Might be worth checking if any other issues may arise from recent black restructuring.

Would be great to have this updated as we are using your library quite extensively, great work, thanks!

bsamseth commented 3 years ago

Thanks for reporting this! This has now been fixed, and I've taken a few minor steps to try to decrease the likelihood of this type of thing slipping through again in the future.

Nice to hear you are finding it useful!