You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "./env/bin/black-nb", line 8, in <module>
sys.exit(cli())
File "./env/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "./env/lib/python3.9/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "./env/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "./env/lib/python3.9/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "./env/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "./env/lib/python3.9/site-packages/black_nb/cli.py", line 195, in cli
sources = black.get_sources(
TypeError: get_sources() missing required keyword-only argument 'root'
black-nb 0.7
black 23.11.0
The text was updated successfully, but these errors were encountered:
One solution is to create a virtual env with python 3.7 version, activate the env, and then do pip install black-nb and then run the command. It would work.
black-nb 0.7
black 23.11.0
The text was updated successfully, but these errors were encountered: