From 48db26860f9dd7976dd06fb8eb089296da236403 Mon Sep 17 00:00:00 2001 From: Leonard Sheng Sheng Lee Date: Tue, 26 Oct 2021 21:28:43 +0200 Subject: [PATCH] feature: pylint-exit Pylint always fails. Pylint-exit displays fatal errors only. --- .github/workflows/pylint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 0b88fe7a..c742569a 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -16,8 +16,8 @@ jobs: - name: Setup Pylint run: | python -m pip install --upgrade pip - pip install pylint + pip install pylint pylint-exit pip install -r requirements.txt - name: Run Pylint run: | - pylint $(git ls-files '*.py') + pylint $(git ls-files '*.py') || pylint-exit $?