keewis / blackdoc

run black on documentation code snippets
https://blackdoc.readthedocs.io
MIT License
47 stars 4 forks source link

make sure an error changes the return code #28

Closed keewis closed 4 years ago

keewis commented 4 years ago

This was a bug, obviously the return code has to change if we encounter an error. Not sure about the specific error code, though (is that what black returns when it encounters a SyntaxError?).