diff options
author | steven stark <steven.stark@att.com> | 2019-06-05 20:53:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-05 20:53:58 +0000 |
commit | 5f9c956c157b106014e7b5104a799c4fb818dba1 (patch) | |
tree | a73abb343ae1efc5a63a55f4c52a0022499d178e /checks.py | |
parent | 4a071acd7eb15d73291d7badc297c248262f76d7 (diff) | |
parent | da26f1709fa5406ee3efebdb82d2c43fcf0122a1 (diff) |
Merge "[VVP] Performance Enhancements (report generation and test collection)"
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 [] |