jupyter-autopep8 icon indicating copy to clipboard operation
jupyter-autopep8 copied to clipboard

spurious warnings on other kernels

Open tmbdev opened this issue 6 years ago • 2 comments

When I have jupyter-autopep8 installed and enabled (via jupyter_notebook_extensions), when I try to open any other kernel, I get a popup that the autopep8 Jupyter notebook extension does not work with (say) the bash kernel.

This is with jupyter 1.0.0, notebook 5.6.0, on Python 3.6, installed via Conda.

tmbdev avatar Aug 30 '18 00:08 tmbdev

Yeah, it is not designed to work on other kernels. Sorry.

kenkoooo avatar Sep 04 '18 18:09 kenkoooo

I'm not trying to use it on other kernels. The problem is that merely installing it results in spurious warnings on other kernels, making jupyter-autopep8 pretty much incompatible with any installation that uses other kernels.

A better behavior than the barrage of warnings would be for the extension to quietly disable itself when invoked with a non-Python kernel.

tmbdev avatar Sep 09 '18 00:09 tmbdev