Flake8Command.run() raises SystemExit even on success.
Even when successful, Flake8Command.run()
will raise a SystemExit(0)
exception, making it difficult to work with (my use-case was writing a custom test command that runs flake8, nose tests, etc.) Please consider ananlogous change to 236e0f0ea1d74a5acaef074d7494184fa9f1fa1b:
if exit_code > 0:
raise SystemExit(exit_code > 0)