Code Review
/
vvp
/
validation-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[VVP] Removed yamllint library
[vvp/validation-scripts.git]
/
checks.py
diff --git
a/checks.py
b/checks.py
index
6f508eb
..
cde601a
100644
(file)
--- a/
checks.py
+++ b/
checks.py
@@
-167,9
+167,12
@@
def check_non_testable_requirements_are_not_mapped():
def check_flake8_passes():
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 []
msgs = result.stdout.split("\n") if result.returncode != 0 else []
return ["flake8 errors detected:"] + [f" {e}" for e in msgs] if msgs else []