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
Currently when run against Notebooks, the ms black extension removes semi-colons. But in Jupyter notebooks, a semi-colon has meaning—it tells the notebook to not print the output from that line (as it normally would by default for the last line in a cell). When writing notebooks for instruction, this can be annoying.
An example of where this comes up—note after running black on the notebook, I have to go back and re-add in ; to prevent several hundred line outputs.
Currently when run against Notebooks, the ms black extension removes semi-colons. But in Jupyter notebooks, a semi-colon has meaning—it tells the notebook to not print the output from that line (as it normally would by default for the last line in a cell). When writing notebooks for instruction, this can be annoying.
An example of where this comes up—note after running black on the notebook, I have to go back and re-add in ; to prevent several hundred line outputs.
Note that Black itself respects semi-colons when formatting notebooks, the problem seems specific to the ms extension
The text was updated successfully, but these errors were encountered: