From ad731c7979eacee9fe286ad82927b101757bf0d2 Mon Sep 17 00:00:00 2001 From: djeck1432 Date: Mon, 4 Nov 2024 08:35:00 +0100 Subject: [PATCH] chnage[ --- .github/workflows/pylint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index d7108918..598f8a6b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -37,5 +37,8 @@ jobs: git ls-files './apps/data_handler/*.py' - name: Run Pylint - run: - pylint $(git ls-files 'data_handler/*.py') --disable=all --enable=C0114,C0115,C0116,C0301 \ No newline at end of file + run: | + files=$(git ls-files 'data_handler/*.py') + if [ -n "$files" ]; then + pylint $files --disable=all --enable=C0114,C0115,C0116,C0301 + fi \ No newline at end of file