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
Thanks! This is a bug in JupyterLab itself - when the code of jupyterlab-lsp was moved to JupyterLab (in 4.0 release) the contributor who did that also added support for Markdown documents by using extractors mechanisms; it seems that markdown cells are erroneously included as empty cells in the resulting Python document.
It seems that the logic in TextForeignCodeExtractor and in the extractForeignCode() or appendCodeBlock need to be modified so that when an entire cell gets extracted, rather than adding an empty code cell equivalent (padded by two empty lines on each side) no cell would be added instead.
Description
When a code cell is after a markdown cell, pycodestyle warns an error E303 (too many blank lines 3).
Reproduce
Expected behavior
No warnings
Context
jupyterlab 4.1.0
jupyterlab-lsp 5.0.3
pycodestyle 2.11.1
Regards
The text was updated successfully, but these errors were encountered: