From 725547762c7f1d1c90ea09e54cd84c0ae9660b7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20Kiiskil=C3=A4?= Date: Tue, 19 Dec 2023 16:56:01 +0200 Subject: [PATCH] pylint - use the pylintrc -file --- .github/workflows/pr-checker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index dfb1fc1..94a071d 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -56,8 +56,8 @@ jobs: sudo apt-get install pylint echo "### pylint" >>$SUMMARY_FILE pylint --version >>$SUMMARY_FILE - pylint --exit-zero --persistent=n tests/ izuma_systest_lib/ >pylint.log - pylintstats=$(scripts-internal/ci/more-lines-checker.sh ${{ github.event.repository.default_branch }} ${{ github.ref_name }} "pylint --exit-zero --persistent=n tests/ izuma_systest_lib/" pylint | tail -n3) + pylint --exit-zero --rcfile pylintrc --persistent=n tests/ izuma_systest_lib/ >pylint.log + pylintstats=$(scripts-internal/ci/more-lines-checker.sh ${{ github.event.repository.default_branch }} ${{ github.ref_name }} "pylint --exit-zero --rcfile pylintrc --persistent=n tests/ izuma_systest_lib/" pylint | tail -n3) echo "$pylintstats" >>$SUMMARY_FILE pylintscore=$(tail -2 pylint.log |head -1) echo "$pylintscore" >>$SUMMARY_FILE