---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
<ipython-input-12-24d47916ce0c> in <module>
----> 1 get_ipython().run_cell_magic('bash', '', 'pycodestyle species.py\n')
<snip>
CalledProcessError: Command 'b'pycodestyle species.py\n'' returned non-zero exit status 1.
The command still runs and produces the expected output, but it does not exit correctly for some reason. This looks like a recent change. Changing the magic to %%bash --no-raise-error seems to fix this.
For an example, see the output from the
pycodestyle
invocation at the linting section of the notes:The command still runs and produces the expected output, but it does not exit correctly for some reason. This looks like a recent change. Changing the magic to
%%bash --no-raise-error
seems to fix this.