pycodestyle_magic icon indicating copy to clipboard operation
pycodestyle_magic copied to clipboard

%%pycodestyle doesn't do anything the first time it is executed.

Open cmichal2 opened this issue 6 years ago • 1 comments

After loading the pycodestyle_magic extension, the first time a cell is executed with %%pycodestyle at the beginning, nothing happens. Is that the intended behaviour? It seems to do the job on subsequent calls - but it never does anything the first time after the extension is loaded.

cmichal2 avatar Oct 25 '19 06:10 cmichal2

You are right. I can reproduce this issue.

(since I included flake8_on (and pycodestyle_on) I haven't used these one cell checkers anymore)

mattijn avatar Oct 25 '19 16:10 mattijn