diff options
author | Lovett, Trevor <trevor.lovett@att.com> | 2019-06-05 23:00:10 -0500 |
---|---|---|
committer | Lovett, Trevor <trevor.lovett@att.com> | 2019-06-05 23:00:10 -0500 |
commit | 533930e4f25494316ea7bc06bcc84b452b2fa529 (patch) | |
tree | 03e1600013c62f4568d3908105ed2ee918fe5ac7 /checks.py | |
parent | 5f9c956c157b106014e7b5104a799c4fb818dba1 (diff) |
[VVP] Removed yamllint library
Change-Id: If2c26b8650e8aba0a183d0cf47b1b3744dbfaf95
Issue-ID: VVP-201
Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
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 [] |