-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
line_number
no longer valid in latest version of black
#2
Comments
Thank you for raising up this issue. I think that your solution is fine, I will check and update it as soon as possible. Thanks. |
https://gist.github.com/MarvinT/a072aa992e977496974aaf492287b08c Have examples for fixing this problem or an alternative method using code-prettify. |
Hi @xoolive, |
Hi @MarvinT, |
Excellent! Works like a charm on my side. |
The
line_number
parameter seems no longer valid in latest version ofblack
which makes lab_black fail (silently).The following quick fix seems to work ok for now, though I am not sure it is enough for addressing the issue properly.
Just for the record, since lab_black failed silently, I would recommend to change
into
The text was updated successfully, but these errors were encountered: