We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a cell that has jupyter magic in it.
%%time # Stuff to time a = 1
Currently black fails it is not valid python.
black extension Error: InvalidInput Cannot parse: 1:0: %%time
I can get around this by temporarily commenting out the line when running black but would it be possible to just skip these magic lines?
The text was updated successfully, but these errors were encountered:
Here's an alternative solution that solves this issue: https://gist.github.com/MarvinT/a072aa992e977496974aaf492287b08c and https://marvint.github.io/Black-Jupyter/
Sorry, something went wrong.
fixes #2, #5
4f24f8a
No branches or pull requests
I have a cell that has jupyter magic in it.
Currently black fails it is not valid python.
I can get around this by temporarily commenting out the line when running black but would it be possible to just skip these magic lines?
The text was updated successfully, but these errors were encountered: