Do not exit early if style checks pass

This commit is contained in:
Josh 2014-10-28 06:02:24 +00:00
parent 247877b7c5
commit 236e0f0ea1

View file

@ -32,7 +32,8 @@ def main():
report = flake8_style.check_files()
exit_code = print_report(report, flake8_style)
raise SystemExit(exit_code > 0)
if exit_code > 0:
raise SystemExit(exit_code > 0)
def print_report(report, flake8_style):