diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2019-06-05 10:13:46 -0500 |
---|---|---|
committer | Trevor Lovett <trevor.lovett@att.com> | 2019-06-05 15:29:28 +0000 |
commit | da26f1709fa5406ee3efebdb82d2c43fcf0122a1 (patch) | |
tree | 47865e1cf8034f8fb88ebb83990d552f6bf20074 /checks.py | |
parent | e97e5f898a2bfeac786b9022ed151665be435376 (diff) |
[VVP] Performance Enhancements (report generation and test collection)
Issue-ID: VVP-222
Signed-off-by: Lovett, Trevor (tl2972) <tl2972@att.com>
Change-Id: I9dd3506097cb0d6e69bd1434b2d42f6d1965023b
Diffstat (limited to 'checks.py')
-rw-r--r-- | checks.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -167,7 +167,9 @@ def check_non_testable_requirements_are_not_mapped(): def check_flake8_passes(): - result = subprocess.run(["flake8", "."], encoding="utf-8", capture_output=True) + result = subprocess.run(["flake8", "."], encoding="utf-8", + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) msgs = result.stdout.split("\n") if result.returncode != 0 else [] return ["flake8 errors detected:"] + [f" {e}" for e in msgs] if msgs else [] |