From 533930e4f25494316ea7bc06bcc84b452b2fa529 Mon Sep 17 00:00:00 2001 From: "Lovett, Trevor" Date: Wed, 5 Jun 2019 23:00:10 -0500 Subject: [VVP] Removed yamllint library Change-Id: If2c26b8650e8aba0a183d0cf47b1b3744dbfaf95 Issue-ID: VVP-201 Signed-off-by: Lovett, Trevor --- checks.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'checks.py') diff --git a/checks.py b/checks.py index 6f508eb..cde601a 100644 --- a/checks.py +++ b/checks.py @@ -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 [] -- cgit 1.2.3-korg