jupyter-autopep8
jupyter-autopep8 copied to clipboard
spurious warnings on other kernels
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.
Yeah, it is not designed to work on other kernels. Sorry.
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.