Only print flake8 table if there is results

Change-Id: I1496280ff5003d507751f04a06b08942c89539da
This commit is contained in:
Graham Hayes 2015-07-14 14:04:09 +01:00
parent 05e894a3dc
commit 00892b3d45
1 changed files with 19 additions and 17 deletions

View File

@ -40,6 +40,8 @@ def main():
else:
print(line)
if len(raw_errors) > 0:
print('Flake8 Results')
ct = PrettyTable([