diff options
author | steven stark <steven.stark@att.com> | 2019-06-06 14:23:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-06 14:23:12 +0000 |
commit | eb94fa9a5d08f532cb7cdd89253e795ba4bc48ef (patch) | |
tree | 67583c22e54e4dc0c4a52d3e032340406189529e /checks.py | |
parent | d7d52082755a84cc1b9ba9a2b1ea0908444d9a10 (diff) | |
parent | 533930e4f25494316ea7bc06bcc84b452b2fa529 (diff) |
Merge "[VVP] Removed yamllint library"
Diffstat (limited to 'checks.py')
-rw-r--r-- | checks.py | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -167,9 +167,12 @@ def check_non_testable_requirements_are_not_mapped(): def check_flake8_passes(): - result = subprocess.run(["flake8", "."], encoding="utf-8", - stdout=subprocess.PIPE, - stderr=subprocess.PIPE) + 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 [] |