Skip to content

Commit 8ac31c9

Browse files
committed
tests: lint: print versions
The linters might show different results depending on the version. Then, it looks interesting to print these versions to help people reproducing issues on their side. Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
1 parent 39353c0 commit 8ac31c9

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/patch/pylint/pylint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ then
1515
exit 0
1616
fi
1717

18+
pylint --version
19+
1820
tmpfile_o=$(mktemp)
1921
tmpfile_n=$(mktemp)
2022

tests/patch/shellcheck/shellcheck.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ then
1515
exit 0
1616
fi
1717

18+
shellcheck --version
19+
1820
tmpfile_o=$(mktemp)
1921
tmpfile_n=$(mktemp)
2022

tests/patch/yamllint/yamllint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ then
1515
exit 0
1616
fi
1717

18+
yamllint --version
19+
1820
tmpfile_o=$(mktemp)
1921
tmpfile_n=$(mktemp)
2022

0 commit comments

Comments
 (0)