From d524ab33000addd282bc106d0aea2aed0a3c721c Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Mon, 9 Sep 2024 15:16:49 -0400 Subject: [PATCH] Fix build workflow Signed-off-by: Fabrice Normandin --- .github/workflows/python-package.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6a25980a..f1d0722a 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -61,12 +61,16 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install poetry - poetry install + pip install pre-commit - name: Check if pre-commit hooks were used. run: pre-commit run --all-files + - name: Install all dependencies (for PyLint) + run: | + pip install poetry + poetry install + - name: Run pylint run: poetry run pylint sarc